Legacy Documentation: Version 4.6.2
Language: English
3D Physics Reference
Capsule Collider

Box Collider

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Scripting

The Box Collider is a basic cube-shaped collision primitive.

Properties

Property: Function:
Is Trigger If enabled, this Collider is used for triggering events, and is ignored by the physics engine.
Material Reference to the Physics Material that determines how this Collider interacts with others.
Center The position of the Collider in the object’s local space.
Size The size of the Collider in the X, Y, Z directions.

Details

Box colliders are obviously useful for anything roughy box-shaped, such as a crate or a chest. However, a thin box can be used as a floor, wall or ramp and the box shape is also a useful element in a compound collider.

3D Physics Reference
Capsule Collider