Physics integrations in Unity
An overview of the different physics integrations available in the Unity engine.
Read time 1 minuteLast updated 13 days ago
Unity helps you simulate physics in your Project to ensure that the objects correctly accelerate and respond to collisions, gravity, and various other forces. Unity provides different physics system implementations which you can use according to your project needs: 3D, 2D, object-oriented, or data-oriented.
You can create some basic physics interactions with the user interface, but for more control over the simulation, you need some familiarity with C#. To develop your C# skills, refer to the Unity Learn Junior Programmer course.
Built-in physics systems for object-oriented projects
If your project is object-oriented, use the Unity's built-in physics system that corresponds to your needs:
- Built-in 3D physics: Uses an integration of the Nvidia PhysX engine by default.
- Built-in 2D physics: Uses an integration of Box2D physics engine by default.
Physics engine packages for data-oriented projects
If your project uses Unity's Data-Oriented Technology Stack (DOTS), you need to install the Unity Physics package. Unity Physics is the DOTS physics engine that simulates physics in a data-oriented project.