Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Collision detection

How PhysX detects collisions in Unity, and how to select the right algorithm depending on your collider configuration for optimal performance.
Read time 1 minuteLast updated 19 days ago

Collision detection is the physics engine’s process for detecting when a physics body (Rigidbody or ArticulationBody) comes into contact with a collider. Unity provides different collision detection algorithms for different situations, so that you can choose the most efficient approach for each individual physics body (Rigidbody or Articulation Body) in your scene.

Topic

Description

Choose a collision detection modeChoose the right collision detection mode for each collider in your project.
Layer-based collision detectionUse layers to define which GameObjects can collide with each other.
Discrete collision detectionOverview of the high-efficiency discrete collision detection mode available in Unity.
Continuous collision detection (CCD)Overview of the high-accuracy continuous collision detection (CCD) modes available in Unity.