SphereShape

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:getDimensionsGet the radius of the SphereShape.
SphereShape:setDimensionsSet the radius of the SphereShape.

See also