[ODE] collion body vs geom

Martin C. Martin martin at metahuman.org
Fri Jan 9 11:01:54 MST 2004


That should work.  Trace through it (or use printfs) to see what happens 
when your body touches the wall.

- Martin

samuel girardin wrote:

> 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
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode



More information about the ODE mailing list