[ODE] Trimesh trouble...

Pierre-Laurent CHAMBERT pilo.c at wanadoo.fr
Mon Apr 25 09:59:38 MST 2005


Hi everyone!

This is my first message here.

I'm trying to use trimesh with collision detection, but with no succes :(

Here's my problem :
I try to use both cal3d and 3ds models. the dSpaceCollide callback func seems 
to be call when it should (when there's a collision), but dCollide return 
contact points only when the center of my geom is in collision... I try to 
look at trimesh example code, but I can't see what's wrong in my code.

I try to use bot dGeomTriMeshDataBuildSimple and dGeomTriMeshDataBuildSingle1 
for creating the trimesh, with and without normals. And I use box and sphere 
geom to collide with the trimesh (no trimesh-trimesh collision yet).

Is there something special I should do to make it works?

Ho and I see that storing last position and rotation for the trimesh is not 
implemented yet? (according to the test_moving_trimesh example)

I have another question : I needed an editor for creating my body, I saw that 
there's ODEEd but I'm running linux... so no version avalaible. Is there 
another editor? or should I have to write my own one?

Thank you!

Pilo




More information about the ODE mailing list