Skip to Content
Introduction to Game Physics with Box2D
book

Introduction to Game Physics with Box2D

by Ian Parberry
September 2017
Beginner
275 pages
5h 42m
English
CRC Press
Content preview from Introduction to Game Physics with Box2D

8The Collision Module

The aim of this chapter is to drill down into some of the Box2D Collision Module code that you probably don’t need to mess with in the normal course of making a game with Box2D. It’s here for the curious and for the advanced programmer who needs to get more features of more performance out of Box2D by messing with its internals.

8.1 Contacts and Manifolds

Section 6.3.1 gave us a quick peek into Box2D contact manifolds, which, you will recall, are a discrete approximation to a continuous region of contact. Now it’s time to look into contacts and contact manifolds more carefully. Let’s do this bottom-up, starting with the most basic structures in b2Collision.h and moving up to more complicated ones.

A contact feature is ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Introduction to Video Game Engine Development: Learn to Design, Implement, and Use a Cross-Platform 2D Game Engine

Introduction to Video Game Engine Development: Learn to Design, Implement, and Use a Cross-Platform 2D Game Engine

Victor G Brusca
Core Techniques and Algorithms in Game Programming

Core Techniques and Algorithms in Game Programming

Daniel Sánchez-Crespo Dalmau
Box2D for Flash Games

Box2D for Flash Games

Emanuele Feronato

Publisher Resources

ISBN: 9781466565777