CylinderShape

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

Constructors

lovr.physics.newCylinderShapeCreate a new CylinderShape.
World:newCylinderColliderAdd a Collider with a CylinderShape to the World.

Methods

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

See also