bartiss
07-09-2008 02:43:10
Hi,
I would like to make OgreODE ignore collision checking between all geometry types except for RayGeometry vs AnyOtherType.
I'm calculating lightmaps using ODE's collision detection. Suppose I have lots of boxes placed on a plane. All of objects use trimesh geometry for example. I use the ray to check for shadowing, but...
If the boxes are penetrating the plane, ODE reports collisions between boxes and plane making the calculations last much longer. If I move the boxes slightly above the ground the calculations speed up greatly, because only Ray vs. others collisions are reported.
Is there a way to do that?
I would like to make OgreODE ignore collision checking between all geometry types except for RayGeometry vs AnyOtherType.
I'm calculating lightmaps using ODE's collision detection. Suppose I have lots of boxes placed on a plane. All of objects use trimesh geometry for example. I use the ray to check for shadowing, but...
If the boxes are penetrating the plane, ODE reports collisions between boxes and plane making the calculations last much longer. If I move the boxes slightly above the ground the calculations speed up greatly, because only Ray vs. others collisions are reported.
Is there a way to do that?