How can I manipulate an object's rotation to ease in toward a specific rotation?
This is my script so far:
clip.trot = Math.atan2(clip._y-clip.targety,clip._x-clip.targetx)*180/Math.PI-270;
clip._rotation += (clip.trot-clip._rotation)/2;
|
Results 1 to 6 of 6
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |