[ODE] Sphere vs trimesh problem again :(
Jon Watte (ODE)
hplus-ode at mindcontrol.org
Thu Apr 27 14:20:10 MST 2006
Peter Libič wrote:
> But the "wheels" are fallin down through terrain.
When you create the terrain, check the winding order of the triangles.
Also check that you're passing the number of INDICES, not the number of
faces.
When you collide with the terrain, make sure that you return a
sufficient number of contacts (my rule of thumb is at least 10; others
have different rules).
Add visualization to your simulation where you can draw each collision
normal you receive out of collision (as a line), and turn it on. That's
the single most useful thing you can do when debugging physics simulations!
Cheers,
/ h+
More information about the ODE
mailing list