BoxShape

Edit

A type of Shape that can be used for cubes or boxes.

Constructors

lovr.physics.newBoxShapeCreate a new BoxShape.
World:newBoxColliderAdd a Collider with a BoxShape to the World.

Methods

BoxShape:getDimensionsGet the dimensions of the BoxShape.
BoxShape:setDimensionsSet the dimensions of the BoxShape.

See also