BoxCollider¶
Inherited: None
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¶
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().