I have a 2D platformer game where you use the mouse to aim the gun. Wherever you move the mouse thats where the gun aims.It can go in a full 360 circle. The problem is I want there to be a line up and down like this = |
and when the player is running to the right but shooting to the left his motion is still going to the right but he is facing backwards as to see where his bullets are going. I want it so when the mouse goes over that line the player mirrors. If that makes sense :D