Skip to content

Help converting 3rd person Camera script to use via PhantomCamera #365

Closed Answered by ramokz
KatieMew asked this question in Question / Help Wanted
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KatieMew
Comment options

Answer selected by KatieMew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants