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 :ref:`Vector3<api_Vector3>`& BoxCollider::size () const

Returns the size of the box collider.

See also setSize().