Problem with VectortoAngle

svnsvn Member Posts: 445
edited November -1 in Working with GS (Mac)
Okay, so I'm making a Mac shooter game. I have the VectortoAngle rule set up for the bullet: MOVE Direction: VectortoAngle( game.MouseX-game.PlayerX, game.MouseY-game.PlayerY). [NOTE: I used Tshirtbooth's GShelper positioning shots video]. In essence, game.MouseX and game.MouseY are real attributes that change to the mouse's position when I click the mouse. But now I have a couple of problems: Even though the bullet is supposed to only move to the position of the mouse at the time of being clicked, it will move when I move the mouse instead of staying on the same path. If I move far enough while the shot still exists, at a certain point it will shoot, then swerve and move backwards. What am I doing wrong?
Sign In or Register to comment.