After discovering Box2D only supports poly-to-poly contacts and finding a bug in the collision pair generation, I decided to try another 2D physics engine that’s more mature and stable:
EDITED: Sept 27, 2007 – added video.
The code is accessible via CVS on SourceForge.
The Lua binding is crap, but everything in Chipmunk appears to work as before. The funny thing is, I’ve never seen any of the demos working because they are all OpenGL + OS X based!
Box2D is quite stable, but a little too stable. The typically jitter of classical 2D physics engine is GONE (say bye-bye penalty methods too), but is now replaced with a “rigid stone block” feel. I guess that’s typical of rigid body physics (no deformations).
TODO
Fix passing of arrays of arrays between C++ and Lua