To find the rotation of an object, given its x/y speed use this code:
var rotation:Number = math.atan2(ySpeed,xSpeed) * 180/Math.PI
|
Results 1 to 2 of 2
Thread: [Help:F8]Threaded View
|
Click Here to Expand Forum to Full Width |