Documentation

Unity Engine

Unity Engine

Collision

Use colliders to configure collisions between GameObjects.
Read time 1 minuteLast updated 12 hours ago

Use colliders to configure collisions between GameObjects.
Colliders define the shape of a GameObject for physical collisions. When colliders make contact, you can call functions to trigger other events. You can configure collisions through collider components or their respective C# classes.

Topic

Description

Introduction to collisionLearn about colliders and collision in Unity.
Introduction to collider typesUnderstand how static, kinematic, and dynamic colliders differ, and how each type behaves.
Collider shapesLearn about the different collider shapes available, and how their shape complexity affects performance.
Collider surfacesConfigure the surface properties, such as bounciness and friction, for your collider.
Collider interactions and eventsUse collision events to call functions and trigger changes at runtime.
Collision detectionChoose the collision detection mode that best suits your collider configuration.

Additional resources