Move To (Curve)

From LuaSTG Wiki
Jump to navigation Jump to search

A move to (curve) node moves an object from one place to another following a particular curve path.


Parameters[edit | edit source]

Here is a list of the parameters of a move to (curve) node.

Parameters Function
Time (string without quotations) The time it takes for the unit to move from its current position to the destination
Type (curve type) Type of the curve. This can be one of "Bezier", "CR" or "Basis2"
Mode (number) Controls the change of speed during the movement, this can be specified as one of four movement types available
Point set (points) 2D-coordinates of the control points. The points are lists separated by commas

Bezier Curve[edit | edit source]

Catmull-Rom Spline[edit | edit source]

B-Spline[edit | edit source]