[ODE] collion body vs geom

samuel girardin samuel.girardin at wanadoo.fr
Fri Jan 9 16:41:00 MST 2004


Hi,

I want to exclude collision betwen one dBodyID and one dGeomID.
I wrote that but don't work in nearcallback :

dBodyID b1 = dGeomGetBody(o1);
dBodyID b2 = dGeomGetBody(o2);

if(b1==body[1] && o2==wall ) return ;
if(o1==wall &&  b2==body[1] ) return ;

Any ideas, I must miss something.

Thanks for any help.

Sam


More information about the ODE mailing list