Tweens from one angle to another.
Constructor
Variables
Functions
View source
Parameters:
tween (fromAngle : Float, toAngle : Float, duration : Float, ease : EaseFunction) : Void
Tweens the value from one angle to another. Rotates on the shortest angle.
Parameters:
fromAngle | Start angle. | |
toAngle | End angle. | |
duration | Duration of the tween. | |
ease | Optional easer function. |