aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs')
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
index b28bc4a..ec4be58 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
@@ -862,12 +862,12 @@ namespace OpenSim.Region.Physics.OdePlugin
862 float depth = terrainheight - chrminZ; 862 float depth = terrainheight - chrminZ;
863 if (!flying) 863 if (!flying)
864 { 864 {
865 vec.Z = -vel.Z * PID_D * 3f + depth * PID_P * 60; 865 vec.Z = -vel.Z * PID_D * 1.5f + depth * PID_P * 60;
866 } 866 }
867 else 867 else
868 vec.Z = depth * PID_P * 60; 868 vec.Z = depth * PID_P * 60;
869 869
870 if (depth < 0.1f) 870 if (depth < 0.2f)
871 { 871 {
872 m_iscolliding = true; 872 m_iscolliding = true;
873 m_colliderfilter = 2; 873 m_colliderfilter = 2;