[ODE] collion body vs geom
samuel.girardin at wanadoo.fr
Sat Jan 10 12:07:46 MST 2004
You are right, so is there a simple solution to achieve what I'd like to
----- Original Message -----
From: "slipch" <slipch at gsc-game.kiev.ua>
To: <ODE at q12.org>
Sent: Saturday, January 10, 2004 9:49 AM
Subject: Re: [ODE] collion body vs geom
> Hello Samuel,
> Friday, January 9, 2004, 5:41:00 PM, you wrote:
> sg> Hi,
> sg> I want to exclude collision betwen one dBodyID and one dGeomID.
> sg> I wrote that but don't work in nearcallback :
> sg> dBodyID b1 = dGeomGetBody(o1);
> sg> dBodyID b2 = dGeomGetBody(o2);
> sg> if(b1==body && o2==wall ) return ;
> sg> if(o1==wall && b2==body ) return ;
> sg> Any ideas, I must miss something.
> sg> Thanks for any help.
> sg> Sam
> This may not work if geometry transforms or hierarchical spaces
> (geometry groups) were used.
> Best regards,
> Konstantin Slipchenko
mailto:slipch at gsc-game.kiev.ua
> ODE mailing list
> ODE at q12.org
More information about the ODE