CapsuleShape

A type of Shape that can be used for capsule-shaped things.

Constructors

lovr.physics.newCapsuleShapeCreate a new CapsuleShape.
World:newCapsuleColliderAdd a Collider with a CapsuleShape to the World.

Methods

CapsuleShape:getRadiusGet the radius of the CapsuleShape.
CapsuleShape:setRadiusSet the radius of the CapsuleShape.
CapsuleShape:getLengthGet the length of the CapsuleShape.
CapsuleShape:setLengthSet the length of the CapsuleShape.

See also