CapsuleShape
EditA type of Shape
that can be used for capsule-shaped things.
Constructors
lovr.physics.newCapsuleShape | Create a new CapsuleShape. |
World:newCapsuleCollider | Add a Collider with a CapsuleShape to the World. |
Methods
CapsuleShape:getLength | Get the length of the CapsuleShape. |
CapsuleShape:getRadius | Get the radius of the CapsuleShape. |
CapsuleShape:setLength | Set the length of the CapsuleShape. |
CapsuleShape:setRadius | Set the radius of the CapsuleShape. |