Help converting 3rd person Camera script to use via PhantomCamera #365
-
I am trying to convert this camera movement script I have to be usable with PhantomCameras. Below is the current script I have
specifically, im not necessarily sure what to change some of the syntax to. as far as the vertical rotation of the camera, im assuming it's using: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Based on your code sample, there are a few places where the rotation seems to be set, so my guess would be that the change would need to occur where you've currently written: # Note: In all instances
# rotation_degrees.x = clamped_rotation
pcam.set_third_person_rotation_degrees(Vector3(clamped_rotation, rotation_degrees.y, rotation_degrees.z))
# rotation.y = new_yew
pcam.set_third_person_rotation(Vector3(rotation.x, new_yew, rotation.z)) Though, it's difficult to say whether if the above works without the wider context of the scene setup. |
Beta Was this translation helpful? Give feedback.
Based on your code sample, there are a few places where the rotation seems to be set, so my guess would be that the change would need to occur where you've currently written:
Though, it's difficult to say whether if the above works without the wider context of the scene setup.