Curve:setPoint
EditChanges the position of a control point on the Curve.
Curve:setPoint(index, x, y, z)
Arguments
Name | Type | Description |
index | number | The index to modify. |
x | number | The new x coordinate. |
y | number | The new y coordinate. |
z | number | 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.