BoxCollider
BoxCollider is an invisible, box-shaped component that defines the physical boundaries for GameObject interactions, crucial for collision detection and physical simulations. Ideal for simple, axis-aligned shapes like crates or buildings, it can be used with Rigidbody for physics-based interactions or for event triggering areas. It allows for specifying position and dimensions relative to the GameObject it's attached to. For comprehensive understanding, the official Unity BoxCollider documentation is recommended.
Properties
Specifies the BoxCollider's position relative to the GameObject's local coordinates, enabling offset adjustments.
Adjusts the BoxCollider's dimensions within the GameObject's local space, suitable for aligning the collider accurately with the GameObject.