[ODE] Non-deterministic behavior
Nate W
coding at natew.com
Sun Aug 31 10:29:02 2003
On Sat, 30 Aug 2003 nlin@nlin.net wrote:
> As a comment I'd like to point out that test_crash.exe (the stepfast
> demo) gives non-deterministic behavior. You can press "r" to reset the
> simulation, yet if you press "r" several times, the car(s) crash into
> the wall in different ways each time. I don't know if this is due to
> stepfast or ODE or a flaw in test_crash.cpp, but it's worth
> investigating.
Stepfast has an option to give deterministic vs. non-deterministic
behavior. In the code I have (which isn't current), it's controlled with
this #define near the top of stepfast.cpp:
#define RANDOM_JOINT_ORDER
--
Nate Waddoups
Redmond WA USA
http://www.natew.com