Collider:getAABB

Returns the bounding box for the Collider, computed from attached shapes.

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

Arguments

None

Returns

NameTypeDescription
minxnumberThe minimum x coordinate of the box.
maxxnumberThe maximum x coordinate of the box.
minynumberThe minimum y coordinate of the box.
maxynumberThe maximum y coordinate of the box.
minznumberThe minimum z coordinate of the box.
maxznumberThe maximum z coordinate of the box.

See also