[ODE] static Meshes

Jon Watte hplus-ode at mindcontrol.org
Wed Mar 17 09:20:14 MST 2004


> In your case, a chair can simply be a box. Or two boxes - the one that
> bounds chair legs, and the other one that bounds backrest. Simple and fast.

That's strange. I heard the initial request as "a chair falling down some stairs". 

The absolutely obvious way of modelling this is to turn the stairs into a series of boxes, and use a mesh of the chair. This also gives good locality, as you won't test the entire stairs against the chair each frame (bounding volume test will discard most steps). Then, create the inertia tensor of the chair by adding a bunch of box bodies (not geoms!) for the legs, seat and back.

Cheers,

			/ h+




More information about the ODE mailing list