Swipe to navigate through the chapters of this book
In the previous chapter, you implemented functionality to support basic drawing operations. Drawing is the first step to constructing your physics engine because it allows you to observe the output while continuing to expand the engine’s capabilities. In this chapter, two critical components for 2D physics simulations, the core engine loop and rigid shape class, will be examined and added to the engine. The core engine loop, or the engine loop, allows the engine to control and handle the real-time interaction of game objects, while the rigid shape class abstracts and hides the detailed information such as positions and rotation angles that are required for future physics calculations.
Please log in to get access to this content
To get access to this content you need the following product:
- Implementing the 2D Physics Engine Core
- Sequence number
- Chapter number
- Chapter 2