aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-02-11 02:29:07 +0000
committerJustin Clark-Casey (justincc)2012-02-11 02:29:07 +0000
commitb92b9228ef5c7833dac019aba12babb5df954d35 (patch)
treeb7ee7fe80933e23ac671c8ca5d56278f6a9e0535 /OpenSim/Region/Physics
parentClamp ODE character velocity. Make ODE falling character 54m/s by default. (diff)
downloadopensim-SC_OLD-b92b9228ef5c7833dac019aba12babb5df954d35.zip
opensim-SC_OLD-b92b9228ef5c7833dac019aba12babb5df954d35.tar.gz
opensim-SC_OLD-b92b9228ef5c7833dac019aba12babb5df954d35.tar.bz2
opensim-SC_OLD-b92b9228ef5c7833dac019aba12babb5df954d35.tar.xz
correct the default avatar_terminal_velocity value that I accidentally left in whilst testing
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdeScene.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
index 7d1401c..598530c 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
@@ -461,7 +461,7 @@ namespace OpenSim.Region.Physics.OdePlugin
461 gravityy = physicsconfig.GetFloat("world_gravityy", 0f); 461 gravityy = physicsconfig.GetFloat("world_gravityy", 0f);
462 gravityz = physicsconfig.GetFloat("world_gravityz", -9.8f); 462 gravityz = physicsconfig.GetFloat("world_gravityz", -9.8f);
463 463
464 float avatarTerminalVelocity = physicsconfig.GetFloat("avatar_terminal_velocity", 9f); 464 float avatarTerminalVelocity = physicsconfig.GetFloat("avatar_terminal_velocity", 54f);
465 AvatarTerminalVelocity = Util.Clamp<float>(avatarTerminalVelocity, 0, 255f); 465 AvatarTerminalVelocity = Util.Clamp<float>(avatarTerminalVelocity, 0, 255f);
466 if (AvatarTerminalVelocity != avatarTerminalVelocity) 466 if (AvatarTerminalVelocity != avatarTerminalVelocity)
467 { 467 {