From 03102864f0d9851b6937ca5472f48f10ec861a26 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 14 Oct 2011 21:11:00 +0100 Subject: change default ODE world_stepsize to 0.0178 from 0.02 This exactly fits five ODE steps in the default frame time (0.089). This means that ODE execution time now matches the default minimum frame time. This eliminates errors between distance travelled as calculated by ODE in clear air and simple extrapolation. On the old values, ODE would actually do calculations over 0.1 seconds rather than 0.089. This means that once the avatar is at top speed, no additional packets need to be sent for smooth movement, since no error develops between server and viewer. This approach replaces the tweaks previously discussed on the opensim-dev mailing list --- bin/OpenSimDefaults.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 9509ed9..e158096 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini @@ -627,8 +627,8 @@ world_gravityz = -9.8 ; World Step size. (warning these are dangerous. Changing these will probably cause your scene to explode dramatically) - ; reference: fps = (0.09375/ODE_STEPSIZE) * 1000; - world_stepsize = 0.020 + ; reference: fps = (0.089/ODE_STEPSIZE) * 1000; + world_stepsize = 0.0178 world_internal_steps_without_collisions = 10 ;World Space settings. Affects memory consumption vs Collider CPU time for avatar and physical prim -- cgit v1.1