[ODE] How to get the worldID from a body?

Christoph Beyer boernerb at web.de
Mon Dec 11 12:23:03 MST 2006

I have the dBodyID of a body and i need its dWorldID value, the world in 
which the body is, for creating joints.

Is in the API such a function and i failed to find it or is there still 
the need of such a function?
something like
dWorldID dBodyGetWorld(dBodyID b);
would be great! if there is not such a function, i will write my own and 
create a patch for it.


More information about the ODE mailing list