ConvexShape:getPointCount

Edit

Returns the number of points in the convex hull.

count = ConvexShape:getPointCount()

Arguments

None

Returns

NameTypeDescription
countnumber 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.

See also