Gradual rotation of a mesh

I want to rotate a mesh using the w, a, s, and d keys. I’ve got a demo working, but it’s favouring a clockwise movement when the current rotation and the intended rotation are in the fourth quadrant, I think.

I am able to rotate the mesh using w/s and a/d in this playground. I am not sure I understand the question. The way it behaves - W rotates clockwise, S counter, D clockwise, A counter. Is this the expected behavior?


Rotate right (D) then rotate down (S) and the cube will rotate 270 degrees counterclockwise instead of 30 degrees clockwise; my previous explanation was off.

Someone did it! They said they had to flip the sign at 180d;

1 Like