BoxShape
EditA type of Shape
that can be used for cubes or boxes.
Constructors
lovr.physics.newBoxShape | Create a new BoxShape. |
World:newBoxCollider | Add a Collider with a BoxShape to the World. |
Methods
BoxShape:getDimensions | Get the dimensions of the BoxShape. |
BoxShape:setDimensions | Set the dimensions of the BoxShape. |