DBullet Physics

The Bullet physics manual tells us that “Bullet Physics is a professional Open Source collision detection, rigid body and soft body dynamics library.” It consists of Open Source C++ code released under the Zlib license and is free for any commercial use on all platforms including Playstation 3, XBox 360, Wii, PC, Linux, Mac OSX and iPhone. Bullet physics is a lot more sophisticated that Box2D, but once you start working with it, you will find that they have some concepts in common, for example, where Box2D has the Physics World b2World, Bullet physics has the Dynamics World btDiscreteDynamicsWorld. Tables D.1 and D.2 contain a few more equivalences.

Table D.1 Bullet equivalents for some Box2D concepts

Box2D Bullet Physics ...

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.