[ODE] How to disable collision between geometry box (movable)
and other unmovable geometry?
Micheál O'Brien
mobrien at europe.com
Sat Jan 4 16:46:02 2003
In your near callback function you need to check if one of the
bodies is a box and the other is the unmovable geometry and
then simply don't create the contact joints between them.
To check if one of the bodies is a box you can use the
dGeomGetClass(dGeomID) function in the near callback.
Unmovable geometry can be checked for easily if it has a body
ID of zero.
Micheál O'Brien
> Hi,
>
> How can I disable collision between geometry box class (movable) and
> other unmovable geometry?
>
>
> Thanks in advance,
>
> Sergei mailto:sergey_eu@cea.ru
>