To configure collision between GameObjects in Unity, you need to use Colliders. Colliders define the shape of a GameObject for the purposes of physical collisions. You can then use these Colliders to manage collision events.
You can configure collisions via Collider components, or their corresponding C# class.
| Topic | 描述 |
|---|---|
| Introduction to Collision | How collision works in Unity. |
| Continuous collision detection | How to detect and handle collisions between fast-moving objects in Unity. |
| Physics Debug Visualization | How to inspect the Collider geometry across your Scene, and profile common physics-based scenarios. |
| Configure wheel colliders for a vehicle | A walkthrough tutorial for configuring wheel colliders on a four-wheel vehicle. |
| Box collider component reference | Reference for the Box Collider component. |
| Capsule collider component reference | Reference for the Capsule Collider component. |
| Terrain collider component reference | Reference for the Terrain Collider component. |
| Wheel collider component reference | Reference for the Wheel Collider component. |
| Mesh collider component reference | Reference for the Mesh Collider component. |
| Sphere collider component reference | Reference for the Sphere Collider component. |
| Physic Material component reference | Reference for the Physic Material component. |