[ODE] re: separating ODE from frame rate

Michael Powers popomatix at yahoo.com
Mon Feb 3 16:18:01 2003


sergey

what i do is keep a system clock - in my main loop i
update the clock between frames and then check if it
is time to do a WorldStep with ODE - (every 5
milliseconds) - this saves you from having to do a
separate thread

only issue i have found with this approach is that the
system clock call on Windows 2000 is braindead and
takes forever to return - so my code does not work on
Windows 2000 unfortunately

michael

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com