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

The point positions will be scaled by the ConvexShape's scale, see ConvexShape:getScale.

See also