Chapter 10. Physics
There are many games that are great without any physics or with some basic or completely unrealistic physics. However, there is something attractive in games that have realistic physics. In this chapter, we're going to review how to integrate a physics engine in our game and get some nice physics almost effortlessly, well, at least when compared to implementing the physics simulation yourself.
In this chapter, we're going to review following topics:
- Creating a physics node and physics bodies
- Using physics bodies properties
- Handling and filtering collisions
- Using joints to connect physics objects
- Applying forces and impulses