[ODE] Incorrect depth on trimesh collisions

Joost van Dongen tsgoo at hotmail.com
Sat Aug 4 10:54:28 MST 2007


Hello all,
 
I am working on a game with some physicsed trimesh objects, but they bounce through the level at extreme speeds. After a lot of research into what was happening, I found out that this happened because the depth that was reported by the collision detection is way too large, resulting in values like 6.1 when the real value was more like 0.05. I checked this by drawing the collisions in my game and they are indeed way too deep. I am using ODE 0.5 (the one destributed with the OGRE-engine) and am using the functions 
dGeomTriMeshDataBuildSingle1() and dCreateTriMesh() to create the collision detection objects. The collision positions seem to be totally okay, only the depths are broken. I think the problem only exists with trimesh-to-trimesh collisions and not with trimesh-to-sphere collisions.
 
So my question is: what might be causing this? I have no clue whatsoever what I might be doing wrong, especially as the collision positions are not broken.
 
Thanks in advance!
 
Greetz,
Joost "Oogst" van Dongen
_________________________________________________________________
Make every IM count. Download Windows Live Messenger and join the i’m Initiative now. It’s free. 
http://im.live.com/messenger/im/home/?source=TAGWL_June07
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ode.org/pipermail/ode/attachments/20070804/ba026392/attachment.htm


More information about the ODE mailing list