[ODE] How to detect colliding parts in geometry group?

David McClurg dmcclurg at pandemicstudios.com.au
Tue Jan 21 16:54:02 2003


Yes.  Notice that the near callback is passed the geometry group but the geoms returned from dCollide() are the geoms _in the group_.  you have to call dCollide() before you get to know which part actually collided.  It might also speed up your simulation to put all your world geometry in a single group since they may not self collide.

-----Original Message-----
From: Sergei Eliseev [mailto:sergey_eu@cea.ru]
Sent: Monday, 20 January 2003 6:03 PM
To: ode@q12.org
Subject: [ODE] How to detect colliding parts in geometry group?


Hi,

Would it be possible to detect colliding part in the geometry group?
For example we have a car which consists from 5 parts: car body and 4
wheels attached to the body. Is it possible to detect which wheel
collides with other world geometry and which one does not collide?

Thanks in advance,

 Sergei