JigLib

A rigid body physics library from the mid-2000s, and the last in a series of rigid body experiments. It's now on GitHub, with the source code and a demo program you can download and run.

At the time, lots of people were trying out different ways of simulating rigid bodies, especially getting them to stack, and there was a lot less information around than there is today. My first experiment combined standard and Verlet (particle) integration. The second was Jiggle, and JigLib was the third and last.

JigLib was based on the paper Non-convex rigid bodies with stacking by Eran Guendelman, Robert Bridson and Ronald Fedkiw, and also supported the accumulated impulses approach described by Erin Catto. The demo program has tall stacks of boxes, chains and ragdolls.

Stacks of boxes, chains, ragdolls and a car in the demo.
Stacks of boxes, chains, ragdolls and a car in the demo.
The car and the ragdolls interacting, with AI-controlled cars in the background.
The car and the ragdolls interacting, with AI-controlled cars in the background.
A couple of minutes of the demo program running.