Curve:setPoint

Edit

Changes the position of a control point on the Curve.

Curve:setPoint(index, x, y, z)

Arguments

NameTypeDescription
indexnumber The index to modify.
xnumber The new x coordinate.
ynumber The new y coordinate.
znumber The new z coordinate.

Returns

Nothing

Notes

An error will be thrown if the index is less than one or more than the number of control points.

See also