Concepts in the Unity Physics system
A simulation is a useful function of a game. Unity provides different tools for different purposes. For example, if we want to develop a 3D game, then we can use the built-in 3D physics integrated with the Nvidia PhysX engine. If we want to add a physics simulation to a 2D game, then we can choose the built-in 2D physics integrated with the Box2D engine.
Note
PhysX is an open source, real-time physics engine middleware SDK developed by Nvidia as a part of the Nvidia GameWorks software suite. Box2D is a free, open source 2D physics simulator engine.
In addition to these built-in Physics solutions, Unity also provides Physics engine packages. These are the Unity Physics
package and the Havok Physics for Unity
package. They are different from the built-in Physics systems. They need to be installed separately using Unity's Package Manager
, and they are used in projects with Unity's Data-Oriented Technology Stack (DOTS). We will introduce...