I'm making a game in which the player controls a rocket using the mouse, when you Left click the rocket "blows" away from the cursor in opposite direction. I've got the movement done but I can't make it rotate properly, it should be facing the direction it's moving. I've tried setting the angle of the ship using tan inverse(atan) of yspeed/xspeed but the rotation still isn't proper , can somebody help??
Here is a pic to help you understand better
<img src="http://i841.photobucket.com/albums/zz339/abhilash2863/help.gif">
here's the cap(v0.99.84)
http://dl.dropbox.com/u/5811650/Help%20 ... otype2.cap