Determines motion along p1 quadratic curve.
Constructor
Variables
Methods
setMotion(FromX:Float, FromY:Float, ControlX:Float, ControlY:Float, ToX:Float, ToY:Float, DurationOrSpeed:Float, UseDuration:Bool = true):QuadMotion
Starts moving along the curve.
Parameters:
FromX | X start. |
---|---|
FromY | Y start. |
ControlX | X control, used to determine the curve. |
ControlY | Y control, used to determine the curve. |
ToX | X finish. |
ToY | Y finish. |
DurationOrSpeed | Duration or speed of the movement. |
UseDuration | Duration of the movement. |