# Moving an object to another objects location

**URL:** <https://forum.kirupa.com/t/moving-an-object-to-another-objects-location/254882>\
**Category:** Uncategorized\
**Created:** [March 16, 2008, 9:11pm UTC](https://forum.kirupa.com/t/moving-an-object-to-another-objects-location/254882 "2008-03-16T21:11:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eyenstyn](https://avatars.discourse-cdn.com/v4/letter/e/838e76/32.png) [@Eyenstyn](https://forum.kirupa.com/u/Eyenstyn)\
**Post date:** [March 16, 2008, 9:11pm UTC](https://forum.kirupa.com/t/moving-an-object-to-another-objects-location/254882/1 "2008-03-16T21:11:16Z")

</div>

hi, i am creating a vertical shooter adaptation.

i am trying to create the enemy units to fire in a direction at the main unit.

The problem is that the bullet follows the main unit instead of moving in a straight direction where the unit used to stand.

I am using timers for creating the animation and i have tried changing the rotation of the bullets. I have got it to rotate in the direction i want it to but it doesnt move there.

i am also trying out this temp object thing where an object is left at the main units last location and the bullet travels to that location. its not working yet but i am going to give it another try.
