[ODE] Trimesh and sphere collision
Hannes Norda
norda at customred.com
Sun Aug 22 08:47:34 MST 2004
Hi!
In collision_trimesh_sphere.cpp there is a #define MERGECONTACTS. Remove
that define and you'll get more contact points.
/Hannes Norda
João Rangel wrote:
> Hi,
>
> Thanks for your replay, but i am affraid that these solutions does not
> solve my problem. In my implementation I have a dCollision
> array[8]. And when a sphere collides with the triMesh it returns
> only one collision point from dCollide.
>
> I tried to replace the sphere geom with a box geom. The same code,
> only with this little difference, and it works.
>
> With sphere wheels, it returns 1collision point. With box wheels, it
> return 8 points. I am forced to conclude that the ode trimesh-sphere
> collision detection does not work, but I already saw it working in Jon
> Watte's demo (by the way, nice demo). It must be some parameter or
> option that changes the dCollide beahavior, but I have no idea what it
> might be. I am using ode in debug mode, with single precision and trimesh.
>
> Any sugestions?
>
> Joao Rangel
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>ODE mailing list
>ODE at q12.org
>http://q12.org/mailman/listinfo/ode
>
>
More information about the ODE
mailing list