2D physics with the Physics Core 2D API
Create and control a 2D physics scene using the Unity.U2D.Physics API.
Read time 1 minuteLast updated 12 days ago
Create and control a 2D physics scene in a C# script using the API.
Unity.U2D.PhysicsTopic | Description |
|---|---|
| Get started with the Physics Core 2D API | Learn about the |
| Creating a scene with the Physics Core 2D API | Create and debug a scene that uses 2D physics. |
| Configuring Physics Core 2D API scenes | Configure 2D physics objects and global settings, and attach custom data to physics objects. |
| Collisions and interactions in the Physics Core 2D API | Enable and detect collisions between 2D physics objects, and cast rays to check for intersections. |
| Run 2D physics in 3D space using the Physics Core 2D API | Create a 2D physics world at any angle in 3D space, instead of the traditional x, y plane that faces the camera. |
| Optimize the Physics Core 2D API | To improve the performance of 2D physics, run the simulation and your own code on multiple threads. |
| Reference for the Physics Core 2D API | Explore the properties and settings you can use to configure the global settings of the Physics Core 2D API, and set the default values for objects like worlds, bodies, and shapes. |
Additional resources
- PhysicsCore2D repository on GitHub