Create and debug a scene that uses 2D physics with 2D Physics Core components.
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 |
|---|---|
| Physics Pose and Physics Area components | Understand the Physics Pose and Physics Area components you use to build 2D physics objects. |
| Add physics to a GameObject with 2D Physics Core | To add physics to a GameObject, add a Physics Pose component to make the GameObject part of the 2D physics simulation, and one or more Physics Area components, which give it a shape. |
| Add physics to a sprite with 2D Physics Core | To add physics to a sprite GameObject and match the shape of the sprite for collisions, add a Physics Area Sprite component. |
| Visualize and edit 2D Physics Core scenes | To help you visualize 2D physics objects during development, Unity automatically draws the shapes you create with 2D Physics Core components in the Unity Editor. |
| Physics Pose component reference | Explore the properties you can use to configure a Physics Pose component in a 2D Physics Core object. |
| Physics Area Capsule component reference | Explore the properties you can use to configure a Physics Area Capsule component in a 2D Physics Core object. |
| Physics Area Circle component reference | Explore the properties you can use to configure a Physics Area Circle component in a 2D Physics Core object. |
| Physics Area Composite component reference | Explore the properties you can use to combine multiple shapes in a 2D Physics Core object. |
| Physics Area Contour component reference | Explore the properties you can use to configure a Physics Area Contour component in a 2D Physics Core object. |
| Physics Area Path component reference | Explore the properties you can use to configure a path in a 2D Physics Core object. |
| Physics Area Polygon component reference | Explore the properties you can use to configure a Physics Area Polygon component in a 2D Physics Core object. |
| Physics Area Primitive component reference | Explore the properties you can use to select a shape in a 2D Physics Core object. |
| Physics Area Segment component reference | Explore the properties you can use to configure a Physics Area Segment component in a 2D Physics Core object. |
| Physics Area Sprite component reference | Explore the properties you can use to configure a Physics Area Sprite component in a 2D Physics Core object. |