Curve:getPoint
EditReturns a control point of the Curve.
x, y, z = Curve:getPoint(index)Arguments
| Name | Type | Description |
| index | number | The index to retrieve. |
Returns
| Name | Type | Description |
| x | number | The x coordinate of the control point. |
| y | number | The y coordinate of the control point. |
| z | number | The z coordinate of the control point. |
Notes
An error will be thrown if the index is less than one or more than the number of control points.