CylinderShape

Edit

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:getLengthGet the length of the CylinderShape.
CylinderShape:getRadiusGet the radius of the CylinderShape.
CylinderShape:setLengthSet the length of the CylinderShape.
CylinderShape:setRadiusSet the radius of the CylinderShape.

See also