Hi all,
I've been searching and fiddling but can't figure this one out.
I have an object that has bullet behavior that moves to the right when created from a random Y position and fixed X position.
I also have a player controlled object that can move freely with the arrow keys.
I'd like the bullet to move towards the last position of the player when the bullet is created, however, not follow it. So basically the bullet would spawn and move in a straight line to the right and pass the player outside the window.
Sorry if I'm overlooking something really simple. In my previous attempts the objects move towards Player.X but I'd like the bullet to pass the player by in a straight horizontal line.
Thanks in advance for any replies.