[ODE] Dynamic trimesh's

Jon Watte (ODE) hplus-ode at mindcontrol.org
Mon Nov 14 19:05:01 MST 2005


> having trouble getting ODE to cooperate, though. When I don't touch 
> anything, except adjust the verticies that I originally gave ODE to 
> generate the trimesh from, wierd things happen. Sometimes I can walk 

> What's the proper way for updating a trimesh geom? Do I have to delete 
> the old geom and create a brand new geom?

You have to create a new TriMeshData object, because that object 
actually pre-calculates an AABB tree of the entire trimesh you give to 
it. If you change the vertices without changing the tree, you're going 
to see bad behavior.

Cheers,

			/ h+




More information about the ODE mailing list