Implementing the 2D Physics Engine Core

  • Michael Tanaya
  • Huaming Chen
  • Jebediah Pavleas
  • Kelvin Sung
Chapter

Abstract

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.

Keywords

Base Class Physic Simulation Previous Project Draw Function Game Object 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Michael Tanaya, HuaMing Chen, Jebediah Pavleas and Kelvin Sung 2017

Authors and Affiliations

  • Michael Tanaya
    • 1
  • Huaming Chen
    • 1
  • Jebediah Pavleas
    • 2
  • Kelvin Sung
    • 3
  1. 1.BothellUSA
  2. 2.KenmoreUSA
  3. 3.WoodinvilleUSA

Personalised recommendations