[ODE] dTrimeshDataID structure

pvaz at apportmedia.com pvaz at apportmedia.com
Mon Jul 18 10:24:14 MST 2005


Hello,

I use ODE to make a car simulation. At this time, the car collides with 
a big trimesh and it works well.
I would like to discuss an idea to manage the collisions otherwise : can 
we imagine create a local trimesh under the car that follows it for the 
colllisions ?
I don't want to allocate memory at each step, so can we modify the 
triangles data in the dTriMeshDataID structure and so just call 
dGeomTriMeshSetData (dGeomID g, dTriMeshDataID Data) to replace the 
current data ?

I don't know if it's a good idea, perhaps i'am totally wrong!

Thanks,
Phil



More information about the ODE mailing list