[ODE] Collision detection slowdown?

Jean-Sebastien Guay jean-sebastien.guay at polymtl.ca
Mon Apr 3 18:32:13 MST 2006


Hello,

> The problem I have now is that the collision detection seems to take an
> inordinate amount of time.

Please ignore this message. I found out after a little stepping through the
running code that there were a lot of collisions generated between pairs of
immobile objects (objects that were just touching but that would never move).
This is obviously useless, and once removed, the frame rate came back up
extremely close to where it was without collision detection (so close as to not
be noticeable).

And to those who asked, I am just using primitives as immobile objects for
debugging. These will be replaced by complex meshes made by our artists later.
That's why I'm using trimeshes on them even though they're obviously
primitives.

Finally, I have no trimesh-trimesh collisions now. The only mobile objects are
bounding sphere geoms, and only immobile objects are trimeshes.

Hope this clears those points up. Thanks for the responses anyways.

J-S
--
______________________________________________________
Jean-Sebastien Guay     jean-sebastien.guay at polymtl.ca
                         http://whitestar02.webhop.org


More information about the ODE mailing list