Rotation is debugged!…mostly

Here’s just a quick update, to say that rotation is fixed, as far as mouse clicking to change the players direction. It used to have trouble with angles more than 90 degrees, but I made the rotation run until the angle between the mouse and the direction the player is facing zero rather than just trying to rotate twice, once clockwise, and again counterclockwise.

That’s really all I changed, beside tidying up some left over code from the earlier incarnation of project shooter. I’m just really happy I can use the mouse to control the dude again, rather than confined to the cardinal directions of the arrow keys.

Leave a Reply

Your email address will not be published.