|
From: Ethan Glasser-C. <gl...@cs...> - 2007-05-01 06:27:33
|
Your original program is kind of hypnotic, actually..
Malcolm Ryan wrote:
> Can anyone explain what is going on here?
To quote Chris Bainbridge, who once answered a similar plea for help
from me:
"Your CFM value is too high, which allows the generated contacts to be
violated significantly. Try world.setCFM(1E-8)"
Indeed, I put that line
world.setCFM(1e-8)
at line 107 of your program, and everything seems to work more as
you'd expect. I don't really understand this part of ODE too well,
maybe someone else can explain better what's happening. Specifically,
is it true that for any given CFM, you can increase the mass of your
objects, and get more sponginess in your collisions? What gives?
Ethan
|