I’m trying to snap the rotation of my player according to its rotation in 90 degree increments
For example, if I’m facing forward in the scene, 0 Rotation on the y, I want my character to snap to 90 Rotation on the y if it moves to the right.
But if my character is pointing at 45 Rotation, I want the snapping to take that into account, and instead of snapping to 90, I want to snap it to 45+90, or 135 degrees.
Right now, if I’m pointing at 45 Degrees, my character will snap to 90.
Help please?