ConvexShape:getFace
EditReturns the indices of points that make up one of the faces of the convex hull.
points = ConvexShape:getFace(index)
Arguments
Name | Type | Description |
index | number | The index of the face. |
Returns
Name | Type | Description |
points | table |
A table with point indices. Use ConvexShape:getPoint to get the coordinates. The points are given in counterclockwise order.
|