shooting moving target

wildj0kerwildj0ker Member Posts: 10
edited January 2012 in Working with GS (Mac)
Hey guys ran into another speedbump, Hoping you guys can help me out.
I have three actors the enemy, my bullet, and the target.
I have the target spawning properly on top of the actor and following the enemy when he moves.

My issue is when my main actor spawns the bullet it aims for the 0,0 position instead of the target that is following the enemy..

Enemy rules = constrain game enemy x and y to self pos x and y
Target rules = constrain self position x and y to enemy x and y
Bullet interpolate to target position x and y

It works some what properly when I interpolate bullet to Enemy x and y but since I have more then one of the same enemy in the scene the bullet will switch between enemies on its own with out being targeted.

Any help would be greatly appreciated...

Comments

  • wildj0kerwildj0ker Member Posts: 10
    Still seems to be shooting towards the 0,0 position. I followed your how to video here .
    Is your instructions above the same as video @ 3:10?
Sign In or Register to comment.