class BoxCollider : Collider

robot_2Generated
code_blocksInput

Description

The BoxCollider class in the Sandbox namespace defines a box-shaped collider component that can be attached to a GameObject. It is used in physics simulations to detect collisions with other objects.

Members

Instance Properties

Member NameSummary
ScaleThe size of the box, from corner to corner.
CenterThe center of the box relative to this GameObject.