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*().