[ODE] Initial position

Don Burns don at andesengineering.com
Wed Apr 21 18:03:15 MST 2004


ODE'ers,

My previous question regarding using joints with composite geometry seems 
to have stumped the jury, so I've worked around it with a single box.  
It'll do for now.

My next question has to do with initialization of my model in space.  
When I'm using a simple world (single big plane) and placing my model at
0,0,0, things behave nicely.  When I take my model and put it into a real
world (position is now 16068.0, 7820.0, 25.5, with heading 160.0) the
model flings itself into wild gyrations and produces NANs after about 20
frames.

Is there a trick to initializing (or re-initializing) the position and 
attitude of a rigid body before doing a dWorldStep() ?

Thanks,

-don



More information about the ODE mailing list