|Attention||Topic was automatically imported from the old Question2Answer platform.|
I have looked at similar posts on this forum but can’t get Lerp_angle() to work.
I am using it to go from my current rotation (rotation_degrees.y) to the rotation of my camera (Global.camerarot, holds y rotation of my camera). Using a normal lerp() function it works fine and rotates my character, but with lerp_angle() it does nothing or gritters the rotation. What am I doing wrong? This is done in 3D if that matters. Thank you!
rotation_degrees.y = lerp_angle(rotation_degrees.y, Global.camerarot, 2.5 * delta)