Author Topic: 2d Rotation Towards Mouse Curser  (Read 888 times)


  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
2d Rotation Towards Mouse Curser
« on: December 06, 2014, 09:48:42 PM »
      I have been stuck with Playmaker for a couple days now. I am trying to make a 2d game and your character's gun aims at the mouse curser, basically having it rotate. I am using just sprite and the camera is aming at the x and y axis (for easy use with rigid bodies).

      What I want to happen is the gun to point towards the curser, almost exactly like how Terraria does it.

Please help.

(If you need more specifics I would be happy to provide some more.)