[ODE] Passing NULL dBodyIDs to dJointAttach
Donny Viszneki
smirk at thebuicksix.com
Sat Nov 6 00:25:10 MST 2004
Are there any adverse affects from passing NULL (zero) dBodyIDs to
dJointAttach? I do this in my current collision callback, and I'm
wondering if I should do null-checking myself.
void collision_function(...)
{
... blah blah blah...
dJointAttach(
dJointCreateContact(odeWorld, odeContactJointGroup, &contact),
dGeomGetBody(o1),
dGeomGetBody(o2));
... blah blah blah...
}
Thanks for your help
More information about the ODE
mailing list