BoxColliderΒΆ

Inherited: VolumeCollider

DescriptionΒΆ

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

Public MethodsΒΆ

void

setSize (const Vector3 size)

const Vector3 &

size () const

Static MethodsΒΆ

None

Methods DescriptionΒΆ

void BoxCollider::setSize (Vector3 size)

Sets the size of the box collider.

See also size().


const Vector3 & BoxCollider::size () const

Returns the size of the box collider.

See also setSize().