class BoxCollider : Collider

book_4_sparkGenerated
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 a sealed class, meaning it cannot be inherited. This collider is used in physics simulations to detect collisions with other objects.

Members

Instance Properties

Member Name Summary
Scale The size of the box, from corner to corner.
Center The center of the box relative to this GameObject.