Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Nathe2000 on December 06, 2014, 11:48:42 PM

Title: 2d Rotation Towards Mouse Curser
Post by: Nathe2000 on December 06, 2014, 11: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.)