6A Tale of Three Modules
Box2D has three modules, the Common Module, which contains some low-level code and data structures, the Collision Module, which contains code and data structures for collision detection and response, and the Dynamics Module, which contains code and data structures for the Physics World. The body of this chapter is divided into three sections, one per module. Section 6.1 will delve fairly deeply into the Common Module, since (in addition to its use throughout Box2D) it is a useful toolkit that can save you lots of programming time reinventing the wheel. Section 6.3 contains an introduction to the Collision Module at a deep enough level for you to get started writing a game. More details are available later in Chapter 8 ...
Get Introduction to Game Physics with Box2D now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.