[ODE] problems with Geom without body in debug mode

Megan Fox shalinor at gmail.com
Mon Jan 24 10:28:29 MST 2005

JointAttach takes dBodyID arguments.  If you call dGeomGetBody() on a
static geom, you get a zero as your return (as in, no body).  This is
exactly the zero you need to pass to dJointAttach.  Or do you mean
you're having some other problem with this?

-Megan Fox

> so how in my near callback i will know that one of  geoms is static? I
> need to know this to pass 0 to
> dJointAttach function

More information about the ODE mailing list