diff options
author | Justin Clark-Casey (justincc) | 2012-02-11 02:29:07 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-11 02:29:07 +0000 |
commit | b92b9228ef5c7833dac019aba12babb5df954d35 (patch) | |
tree | b7ee7fe80933e23ac671c8ca5d56278f6a9e0535 /OpenSim/Region | |
parent | Clamp ODE character velocity. Make ODE falling character 54m/s by default. (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 2 |
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 | { |