Skip to main content

Implementing the 2D Physics Engine Core

  • Chapter
  • First Online:
Building a 2D Game Physics Engine
  • 1813 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

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

About this chapter

Cite this chapter

Tanaya, M., Chen, H., Pavleas, J., Sung, K. (2017). Implementing the 2D Physics Engine Core. In: Building a 2D Game Physics Engine. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2583-7_2

Download citation

Publish with us

Policies and ethics