Please help! Shooting in the direction of the mouse?

ArmuelArmuel Member Posts: 31
edited July 2012 in Working with GS (Mac)
Hey. I want to make it so when the player clicks the LMB, he shoots in the direction of the mouse x and y. I tried move, and then set direction to mouse.position.x,mouse. position.y and when that didn't work VectorToAngle but that didn't work either. Help please.

Comments

  • Pennez-GamesPennez-Games Member Posts: 107
    is this kind of what your looking for? its probaly abit different to what you want but watch the video and youll get an idea of how to do what you want to do.

Sign In or Register to comment.