ODE integration + Trimesh colliders

Jaro
Posts: 1
Joined: Wed Nov 02, 2005 10:33 am

ODE integration + Trimesh colliders

Post by Jaro »

Hi,

finally I found time to have a closer look to Bullet - ODE integration and see bit the code also. The demo is really nice and finally could bring usable flat-end cylinder to ODE.
What I still miss and is really crucial (for me) is the trimesh collision. I was thinking it could be relatively easy to implement cylinder-trimesh collision in the same manner as other ODE trimesh colliders profiting from the well working OBB-trimesh collider and then only in the final phase when colliding cylinder with triangle call into the Bullet library.
I even could have some time now to try it out but before I wanted to ask if you have already done something in respect to convex object - trimesh collision in ODE or if you have some comments on how to implement it.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Post by Erwin Coumans »

Here is a prototype convex-trimesh collision detection, integrating Bullet and ODE:

http://www.continuousphysics.com/ftp/pu ... sh_src.zip

Open bullet\Extras\ode\VC6\Samples\MakeAllTests.sln (visual studio 7)
and check out the demo test_convex_trimesh.cpp

Erwin