ConvexShape:getPoint
EditReturns one of the points in the convex hull, in local space.
x, y, z = ConvexShape:getPoint(index)Arguments
| Name | Type | Description |
| index | number | The index of the point. |
Returns
| Name | Type | Description |
| x | number | The x coordinate. |
| y | number | The y coordinate. |
| z | number | The z coordinate. |
Notes
The point positions will be scaled by the ConvexShape's scale, see ConvexShape:getScale.