The Box Collider is a basic cube-shaped collision primitive.
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. |
Box colliders are obviously useful for anything roughly box-shaped, such as a crate or a chest. However, you can use a thin box as a floor, wall or ramp. The box shape is also a useful element in a compound collider.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Is something described here not working as you expect it to? It might be a Known Issue. Please check with the Issue Tracker at issuetracker.unity3d.com.
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information