[quote="Azu":2i36jxsb]By the way, do you how to set angle based on on X/Y Velocity?[/quote:2i36jxsb]
Basically, if the velocity is expressed both negative and positive, then the angle of the velocity at that moment of time you sample it is
angle(0, 0, xVel, yVel)
But you would need to take into account the current angle of the object, the velocity is applied to. When time based it could be something like that:
object.angle = object.angle + angle(0, 0, xVel, yVel) * TimeDelta
(If I'm not totally off beam)
EDIT: Ah, sorry, no, the last one is not correct. It would spin the object even if the angle is already reached.