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ΒΆ
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().