Godot Version
4-
Im trying to make it so that the player rotates based on the camera’s rotation using lerp_angle, but when I try the player only rotates according to the global rotation of the camera instead of the local,
rotation.y = lerp_angle(rotation.y,deg_to_rad(pivot.rotation.y + 90), 1)
I one figured it out, and two it the context was all there, the pivot was the camera, i wanted the player to rotate based on the camera’s rotation using lerp, however, using deg_to_rad() returned the pivot’s(camera) global rotation instead of its local rotation, so instead of holding the entirety of the angle in the deg_to_rad() I seperated it by doing this: pivot.rotation.y + deg_to_rad(90), if you aren’t going to try to help don’t leave a glorified “idk lol”, pmo