CapsuleColliderΒΆ

Inherited: SphereCollider

DescriptionΒΆ

The CapsuleCollider class provides methods to manipulate the height of the capsule collider and obtain its associated collision shape. This class is designed for use in 3D physics simulations and game development.

Public MethodsΒΆ

float

height () const

void

setHeight (float height)

Static MethodsΒΆ

None

Methods DescriptionΒΆ

float CapsuleCollider::height () const

Returns the height of the capsule collider.

See also setHeight().


void CapsuleCollider::setHeight (float height)

Sets the height of the capsule collider.

See also height().