# Problem with enemy bullets

**URL:** <https://forum.kirupa.com/t/problem-with-enemy-bullets/163691>\
**Category:** programming\
**Created:** [September 25, 2005, 12:57am UTC](https://forum.kirupa.com/t/problem-with-enemy-bullets/163691 "2005-09-25T00:57:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jojosh](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@Jojosh](https://forum.kirupa.com/u/Jojosh)\
**Post date:** [September 25, 2005, 12:57am UTC](https://forum.kirupa.com/t/problem-with-enemy-bullets/163691/1 "2005-09-25T00:57:10Z")

</div>

Hello.  
I have a small problem and I was hoping that someone can help me.  
I have this vertical space shooter and I have problem regarding enemy bullet directions.  
My problem is this.  
When enemy ship shoot bullet at me(player) I want this bullet to be aimed to my current location, and to continue to travel to that location and beyond, even if I move to another location…Im sure you know what I mean, but my English is bad and this is best I can do to explain.  
I tryed to do this on my own with players location as waypoint and bullet cheking his x and y locations against players and then navigating bullet acordingly but it didnt helped.Im almoust certain that some kind of Math method is necessery but i just cant figure it on my own.  
I would apricciate if someone could help me.  
Thanks in advance.
