-
Easing in rotation in Actionscript 2.0
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;
-
-
thanks but i need to know the formula for easing in with rotation.
Last edited by Adamkyler; 12-23-2009 at 12:46 PM.
Syntax Error
-
that in the scripting samples !?
(im new...)
-
-
 Originally Posted by Adamkyler
thanks but i need to know the formula for easing in with rotation.
http://www.robertpenner.com/easing/p...7_tweening.pdf
you have them all here.
gparis
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|