diff options
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs index 9c1b87b..1c8de56 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | |||
@@ -851,10 +851,10 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
851 | float depth = terrainheight - chrminZ; | 851 | float depth = terrainheight - chrminZ; |
852 | if (!flying) | 852 | if (!flying) |
853 | { | 853 | { |
854 | vec.Z = -vel.Z * PID_D * 1.5f + depth * PID_P * 50; | 854 | vec.Z = -vel.Z * PID_D * 1.5f + depth * PID_P * 30; |
855 | } | 855 | } |
856 | else | 856 | else |
857 | vec.Z = depth * PID_P * 50; | 857 | vec.Z = depth * PID_P * 30; |
858 | 858 | ||
859 | /* | 859 | /* |
860 | Vector3 vtmp; | 860 | Vector3 vtmp; |