diff options
author | Justin Clark-Casey (justincc) | 2012-02-11 02:26:53 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-11 02:28:40 +0000 |
commit | f49897a4195df5fbd00e2c16461bcebb36ce8f72 (patch) | |
tree | 88de016a5c83a09130a0299faedc1ad947a50329 /bin | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-f49897a4195df5fbd00e2c16461bcebb36ce8f72.zip opensim-SC_OLD-f49897a4195df5fbd00e2c16461bcebb36ce8f72.tar.gz opensim-SC_OLD-f49897a4195df5fbd00e2c16461bcebb36ce8f72.tar.bz2 opensim-SC_OLD-f49897a4195df5fbd00e2c16461bcebb36ce8f72.tar.xz |
Clamp ODE character velocity. Make ODE falling character 54m/s by default.
If velocity reaches 256 in any vector then bad things happen with ODE, so we now clamp this value.
In addition, a falling avatar is clamped by default at 54 m/s, which is the same as a falling skydiver.
This also appears to be the value used on the linden lab grid.
This should resolve http://opensimulator.org/mantis/view.php?id=5882
Diffstat (limited to 'bin')
-rw-r--r-- | bin/OpenSimDefaults.ini | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 62fe9d4..3fd3d31 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -655,6 +655,11 @@ | |||
655 | world_gravityy = 0 | 655 | world_gravityy = 0 |
656 | world_gravityz = -9.8 | 656 | world_gravityz = -9.8 |
657 | 657 | ||
658 | ; Terminal velocity of a falling avatar | ||
659 | ; This is the same http://en.wikipedia.org/wiki/Terminal_velocity#Examples | ||
660 | ; Max value is 255, min value is 0 | ||
661 | avatar_terminal_velocity = 54 | ||
662 | |||
658 | ; World Step size. (warning these are dangerous. Changing these will probably cause your scene to explode dramatically) | 663 | ; World Step size. (warning these are dangerous. Changing these will probably cause your scene to explode dramatically) |
659 | ; reference: fps = (0.089/ODE_STEPSIZE) * 1000; | 664 | ; reference: fps = (0.089/ODE_STEPSIZE) * 1000; |
660 | world_stepsize = 0.0178 | 665 | world_stepsize = 0.0178 |