Skip to content

Commit

Permalink
[Reviewed] [Third person camera] Fix the rotation angle offset (#1445)
Browse files Browse the repository at this point in the history
  • Loading branch information
D8H authored Nov 23, 2024
1 parent b0c281d commit 20841de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/reviewed/ThirdPersonCamera.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "ThirdPersonCamera",
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Line Hero Pack/Master/SVG/Virtual Reality/94e95d2c318e1f3dc7151a351024e13c574e1e44669c6696aa107d60230073f6_Virtual Reality_3d_vision_eye_vr.svg",
"shortDescription": "Move the camera to look at an object from a given distance.",
"version": "1.4.1",
"version": "1.4.2",
"description": [
"Move the camera to look at an object from a given distance with a rotation and an elevation angles.",
"",
Expand Down Expand Up @@ -887,7 +887,7 @@
"parameters": [
"CameraAngle",
"=",
"Object.Angle() + 90 + (AngleDifference(CameraAngle(Object.Layer(), 0), (Object.Angle() + 90))) * exp(TimeDelta() * RotationLogSpeed) + RotationAngleOffset"
"Object.Angle() + 90 + RotationAngleOffset + AngleDifference(CameraAngle(Object.Layer()), Object.Angle() + 90 + RotationAngleOffset) * exp(TimeDelta() * RotationLogSpeed)"
]
},
{
Expand Down

0 comments on commit 20841de

Please sign in to comment.