Rag-doll Character

From ODE
Jump to: navigation, search

OpenDE can be used to simulate the limbs of an anamorphic biped. It is often referred to as a rag-doll.

The rag-doll topic has come up a few times on the mailing list. Some insights that can be gained from these postings are:

  • Use capsules for your limbs, instead of boxes. They are less likely to cause awkward collisions.
  • Auto-disabling should probably be done as a group (island) not per individual limb.
  • Rotational inertia may help stability

Pointers on the list are:

Streeter's code sports a nice self-contained class, ODEHuman.cpp, that performs pretty well. Its main drawback: the shoulder has only one degree of freedom, which is unnatural.

ODE with Irrlicht example of rag-doll video on YouTube by sgt_pinky

For a good example on how to do ragdolls in ODE, take a look at Bram Stolk's crashtest code.