Summary
In this chapter, we started by introducing the physics solutions provided by Unity, including two built-in physics solutions, Nvidia PhysX engine and Box2D engine, and Unity also provides Physics engine packages, namely, the Unity Physics package and the Havok Physics for Unity package. Then, we explored some of the most important concepts in Unity's Physics system, such as the Collider component, the Rigidbody component, and Triggers. We also discussed how to create a new script in Unity to interact with Unity's Physics system.
Then, we demonstrated how to implement a physics-based ping-pong game in Unity.
Finally, we explored some best practices for applying a physics simulation in Unity to optimize the performance problems caused by the Physics system.
In the next chapter, we will be discussing how to implement video and audio features in Unity.