How to make bullet shoot at player?

bobtheturtlebobtheturtle Member Posts: 226
edited October 2012 in Working with GS (Mac)
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

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Hi,

    I can not figure out how to get a bullet to spawn, then rotate itself to player, and then accelerate towards.

    That sounds more like a heat seeking missile. ;)
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    edited October 2012
    Ok so Nuff with the jokes :)

    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.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    haha forgot to attach it.

    Cheers
Sign In or Register to comment.