For the purpose of this....Player = rotate, Block = what you want to rotate toward
You will need to take note of the Blocks X Y position.
Make 2 real attributes call them positionX positionY or whatever you want.
do a change attribute positionX to self.position.X same for Y in the block actor.
Then in the player actor do rotate to position positionX positionY in the 2 boxes for X & Y.
Make sure your image for the rotating actor is facing right if its a rocket/missile sprite for eg the warhead is on right the tail/fins on left and it will work fine.
Comments
You will need to take note of the Blocks X Y position.
Make 2 real attributes call them positionX positionY or whatever you want.
do a change attribute positionX to self.position.X same for Y in the block actor.
Then in the player actor do rotate to position positionX positionY in the 2 boxes for X & Y.
Make sure your image for the rotating actor is facing right if its a rocket/missile sprite for eg the warhead is on right the tail/fins on left and it will work fine.
Darren.
So