Collider:getAABB

Edit

Returns the world-space axis-aligned bounding box of the Collider, computed from attached shapes.

minx, maxx, miny, maxy, minz, maxz = Collider:getAABB()

Arguments

None

Returns

NameTypeDescription
minxnumber The minimum x coordinate of the box.
maxxnumber The maximum x coordinate of the box.
minynumber The minimum y coordinate of the box.
maxynumber The maximum y coordinate of the box.
minznumber The minimum z coordinate of the box.
maxznumber The maximum z coordinate of the box.

See also