ConvexShape:getPoint

Edit

Returns one of the points in the convex hull, in local space.

x, y, z = ConvexShape:getPoint(index)

Arguments

NameTypeDescription
indexnumber The index of the point.

Returns

NameTypeDescription
xnumber The x coordinate.
ynumber The y coordinate.
znumber The z coordinate.

Notes

Currently, the point positions do not include the scale of the convex shape.

See also