ConvexShape:getPointCount
EditReturns the number of points in the convex hull.
count = ConvexShape:getPointCount()
Arguments
None
Returns
Name | Type | Description |
count | number | The number of points. |
Notes
This isn't necessarily the same as the number of points or vertices that were used to create the shape, since points inside the hull will be discarded.