SphereColliderΒΆ
Inherited: VolumeCollider
DescriptionΒΆ
The SphereCollider class provides functionality to define a sphere collider with a specific radius. It supports retrieving and setting the radius. The sphere collider can be integrated with other components in a game or simulation to enable accurate collision detection.
Public MethodsΒΆ
Static MethodsΒΆ
None
Methods DescriptionΒΆ
float SphereCollider::radius () const
Returns the radius of the sphere collider.
See also setRadius().
void SphereCollider::setRadius (float radius)
Sets the radius of the sphere collider.
See also radius().