[ODE] creating bodies, joints and geoms with 'null' world/space arguments

rod kay rodkay at dodo.com.au
Tue Oct 17 21:44:11 MST 2006


   I've modified ODE latest svn code to allow bodies, joints and geoms to be 
created with null (0) arguments. There are 3 new functions: dBodySetWorld, 
dJointSetWorld and dGeomSetSpace, which allow these parameters to be set or 

   The idea is to allow creation of these objects, without any knowledge of 
a 'world' or 'space' to which they might belong. Once so created, other 
object parameters can be set up, or manipulated, before the object is added 
to a world or space. In general, the changes should allow a little more 
flexibility in where/when the creation/set up of objects may take place.

   I've tested the changes with my own code, and they seem to work alright, 
although they could probably be made a little more robust.

   The changes have been useful to my project, and I was wondering if they 
might be useful for others ?



More information about the ODE mailing list