I want to lerp my players rotation. I’m trying the code below with no luck.
Depending on which direction the player is moving I will lerp the rotation ± 30 degrees
My player does rotate now on the y axis. I did read his article too. I update my degree variable in various places. So its not a constant 30 it changes.
if your approach is to change the angle being rotated elsewhere you might as well remove the attempt at a slerp completely.
Slerp and Lerp are purely mathematical functions which work out a midpoint between two values, if your step is 1 you are purely using the max value, not the midpoint.