SphereShape

Edit

A type of Shape that can be used for spheres.

Constructors

lovr.physics.newSphereShapeCreate a new SphereShape.
World:newSphereColliderAdd a Collider with a SphereShape to the World.

Methods

SphereShape:getRadiusGet the radius of the SphereShape.
SphereShape:setRadiusSet the radius of the SphereShape.

See also