Determines a circular motion.
Constructor
Variables
Methods
setMotion(CenterX:Float, CenterY:Float, Radius:Float, Angle:Float, Clockwise:Bool, DurationOrSpeed:Float, UseDuration:Bool = true):CircularMotion
Starts moving along a circle.
Parameters:
CenterX | X position of the circle's center. |
---|---|
CenterY | Y position of the circle's center. |
Radius | Radius of the circle. |
Angle | Starting position on the circle. |
Clockwise | If the motion is clockwise. |
DurationOrSpeed | Duration of the movement. |
UseDuration | Duration of the movement. |