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
0.7.2-post-fixes
Justin Clark-Casey (justincc) 2011-10-14 21:11:00 +01:00
parent 14bddb6af9
commit a1f232af2b
1 changed files with 2 additions and 2 deletions

View File

@ -615,8 +615,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