When I create a Body without passing in a GeomBox or GeomSphere (e.g. a GeomTransform), I get the warning message:
ODE Message 2: inertia must be positive definite (ode/src/ode.cpp:410)
I am using the windows debug native.
I believe this is because default inertia is loaded only for GeomBoxS and GeomSphereS.
This problem could be solved by adding a Ode.dMassSetParameters(massId, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f) call before the Ode.dBodySetMass(bodyId, massId) call in the constructor of Body.
Is this a known issue? I’ll submit a patch if not…