Chapter 5: Working with the Unity Physics System
A physics simulation in a game is not only an indispensable function for implementing the realism in the game. Adding a physics simulation to your game can usually improve the fun and playability of the game. Generally speaking, it determines how objects move and how they collide with one another, such as the collision between a player and a wall and the effect of gravity. As a popular game engine, Unity provides developers with a variety of tools, allowing developers to integrate physics simulation functions in their games.
We will cover the following key topics in this chapter:
- Concepts in the Unity Physics system
- Scripting with the Physics system
- Creating a simple game based on the Physics system
- Increasing the performance of the Physics system
By the end of this chapter, you will be able to apply the physics simulation correctly and efficiently in Unity to add more realism or fun to your game.
Now...