[ODE] Another Tri-Collider Question

Vadim Macagon vadim_mcagon at hotmail.com
Tue May 6 01:17:01 2003


Hyas,

I've got a sphere and a simple flat mesh (a few triangles forming a square),
I've got gravity turned on and when the sphere drops down onto the mesh it
(the sphere) starts jittering up and down slightly. The tri-collider is
slightly different to gl's one (or whichever one I ended up with) in that it
uses floats for everything, but I don't think that's the problem. As I
reduce the step size the jitter becomes less and less noticable, it doesn't
look like box/mesh suffers from the problem. The depth computation seems
fine to me, the sphere is pushed away from the mesh gradually (over a number
of steps) and then suddenly falls down slightly and has to get pushed away
again, and hence the jitter. Any ideas on why it's happening and how I can
fix it (aside from reducing step size :))?

Thanks,

Vadim.