Curve:setPoint

Changes the position of a control point on the Curve.

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

Arguments

NameTypeDescription
indexnumberThe index to modify.
xnumberThe new x coordinate.
ynumberThe new y coordinate.
znumberThe 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