View Single Post
  #1  
Old 02-21-2004, 06:37 PM
Kadar Kadar is offline
Registered User
Join Date: Jan 2002
Posts: 636
Kadar is on a distinguished road
Unhappy Need some help..

Im not so good at math so i cant figure this one out, here goes.

I am trying to make a npc that shoots a projectile towards the mousex and mousey, but i cant figure out how to get the angle to work.

Im trying to get the angle of mousex and mousey so the projectile will shoot towards the mouse position, i can figure out how to use power but i cant figure out the angle part, any help would be appreciated..

Thanks
__________________
Reply With Quote