How to make bullet shoot at player?
bobtheturtle
Member Posts: 226
Hi,
I can not figure out how to get a bullet to spawn, then rotate itself to player, and then accelerate towards.
All i get is a bullet spawning and just shoots left at a fixed rotation and a direction.
example
http://www.flickr.com/photos/88213665@N07/8064932259/in/photostream
thank you for your time
I can not figure out how to get a bullet to spawn, then rotate itself to player, and then accelerate towards.
All i get is a bullet spawning and just shoots left at a fixed rotation and a direction.
example
http://www.flickr.com/photos/88213665@N07/8064932259/in/photostream
thank you for your time
Comments
Give this a try I just made this for ya. dissect it and see if you can learn from it. basically you need to spawn and accelerate relative to the actors.
BTW it will just continue to fire where ever your mouse is pointing.
Cheers