[ODE] collion body vs geom
samuel girardin
samuel.girardin at wanadoo.fr
Sat Jan 10 12:07:46 MST 2004
Thanks Konstantin,
You are right, so is there a simple solution to achieve what I'd like to
do.
Samuel.
----- 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[1] && o2==wall ) return ;
> sg> if(o1==wall && b2==body[1] ) 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
> http://q12.org/mailman/listinfo/ode
More information about the ODE
mailing list