Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Collisions and interactions in 2D Physics Core

Configure and detect collisions between 2D Physics Core objects, using contact filters, layers, and events.
Read time 1 minuteLast updated 17 days ago

Configure and detect collisions between 2D Physics Core objects, and check whether objects intersect.
Note
This documentation is about using Pose, Area, and Constraint components. To use 2D physics in the Unity Editor using components like the Rigidbody 2D component, refer to 2D physics instead.

Topic

Description

Introduction to collision in 2D Physics CoreUnderstand how 2D Physics Core objects collide, including collision types, contact filters, and layers.
Configure collisions between 2D Physics Core objectsSet which 2D Physics Core objects collide with each other, using contact filters and layers.
Detect contact between 2D Physics Core objectsDetect when 2D Physics Core objects make contact, and respond to contact events and trigger events.

Additional resources