[ODE] Autodisable defaults
Colin Bonstead
colin at cyan.com
Thu Apr 21 09:10:37 MST 2005
I was looking at the autodisable defaults that dWorldCreate uses, and it
seems like there's a problem. Here's what's in the code:
w->adis.linear_threshold = REAL(0.001)*REAL(0.001);
w->adis.angular_threshold = REAL(0.001)*REAL(0.001);
w->adis.idle_steps = 10;
w->adis.idle_time = 0;
w->adis_flag = 0;
So if a body has linear and angular velocity less than linear_threshold
and angular_threshold for more than idle_steps or idle_time it will get
disabled. Idle_steps seems reasonable at 10, but idle_time is zero,
which means bodies will get disabled the instant they drop below the
thresholds. Is this right?
More information about the ODE
mailing list