[ODE] body id of 0

Jon Watte (ODE) hplus-ode at mindcontrol.org
Sun Sep 18 19:20:34 MST 2005

That's a bug in your program; either you didn't store the value returned 
from the first creation, or your code didn't actually run the creation, 
or the creation failed. ODE works as documented in this case. Take the 
debugger to your code and step through your creation code, examining the 
values after each line.


			/ h+

Samuel Manier wrote:
> Hi,
> I wanted to connect a body (B) to the static world so I created a joint 
> between B and 0. But it didn't work : it connected B to the first body 
> (A) I create in my simulation. After that I discovered A had the body id 
> of 0. It can't be possible, is it ? I thought only the static world had 
> the 0 id.
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode

More information about the ODE mailing list