aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2012-04-18 03:59:38 +0100
committerUbitUmarov2012-04-18 03:59:38 +0100
commit08714a0d3826acee9f0e0bfa278efe97206dce18 (patch)
treee9d7189cfef91ce70fabe393307841ae9c1c3881 /OpenSim/Region
parentubitODE - retouch character PIDs (diff)
downloadopensim-SC_OLD-08714a0d3826acee9f0e0bfa278efe97206dce18.zip
opensim-SC_OLD-08714a0d3826acee9f0e0bfa278efe97206dce18.tar.gz
opensim-SC_OLD-08714a0d3826acee9f0e0bfa278efe97206dce18.tar.bz2
opensim-SC_OLD-08714a0d3826acee9f0e0bfa278efe97206dce18.tar.xz
ubitODE still retouching character pid
Diffstat (limited to 'OpenSim/Region')
-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;