[ODE] Ray - TriMesh collision Problem - Help request

Pawel Kmiotek lewapq at tlen.pl
Thu Feb 8 07:19:09 MST 2007


Yes tried befort to change the number of contacts but it changed nothing :(.
Nevertheless thank very much you for interest. I apreciate it.


 > > > Hello !

 > > >I have problems with Ray vs Trimesh collision.

 > > >I'm tring to implement a sensor ( range finder ) based on rays. 
Thus I
 > > >only detect collisions but do nothing about it.

 > > >Below there are links to screenshots represent correct collision 
detection and incorect one.

 > > >The almost-cube building is a Box while the more-rectangular one is a
 > > >TriMesh. As you can see collision with box always produces correct 
collisions, while trimesh not.

 > > >I've used OgreOde with ODE-0.7 and 0DE-0.8-rc1. I hoped that 
version 0.8
 > > >  will bring me a resolution but nothing of that kind. I have also 
found
 > > >in the mailing list archives comment:

 > > >  "The GIMPACT code seems to work, there is only an issue left with:
 > > >dGeomTriMeshDataBuildSimple
 > > >which as far as I know is not solved yet"
 > > >(http://ode.org/pipermail/ode/2007-January/021323.html)

 > > >OgreOde uses mentioned funtion to create a trimesh. May it be a 
source
 > > >of my problems ?

 > > >http://www.prinel.pl/Good-From-Above.jpg
 > > >http://www.prinel.pl/Good-From-Below.jpg

 > > >http://www.prinel.pl/Bad-From-Above.jpg
 > > >http://www.prinel.pl/Bad-From-Below.jpg

 > > >Maybe the following problem were already covered somewhere but I 
haven't
 > > >found any relevant information.

 > > >I would be grateful for any piece of advice how to solve the problem.

 > > >Best regards,
 > > >Pawel


 > Hi !
 > >
 > > Is there anybody who can bring some light to the aforementioned 
problem
 > > ? I would really appreciated it. It is really important to me since it
 > > is the crucial part of my project.
 > >
 > > Since my english if far cry from being perfet my description may be 
not
 > > clear engough. If so, please let me know and I'll rewrite it 
putting it
 > > in different words. If there are, in your opinion, any details missing
 > > please let me know I'll provide them.
 > >
 > > Best regards,
 > > Pawel

Could it be that you have not set a sufficient number of contacts on the 
trimesh? It seems that a
number of rays do work as expected.

(I have never used Rays in ODE, I'm not sure if the number of contacts 
could be a cause.)

Martijn


More information about the ODE mailing list