aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-01-29 01:20:43 +0000
committerTeravus Ovares2008-01-29 01:20:43 +0000
commit4742a172e2f4be6a072b9923102dff7fd82cc48c (patch)
treebd5bd5ea512d89e12c85b383f787ea32bfd802aa /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
parent* Add total logouts (and total logins) to server side user stats (diff)
downloadopensim-SC_OLD-4742a172e2f4be6a072b9923102dff7fd82cc48c.zip
opensim-SC_OLD-4742a172e2f4be6a072b9923102dff7fd82cc48c.tar.gz
opensim-SC_OLD-4742a172e2f4be6a072b9923102dff7fd82cc48c.tar.bz2
opensim-SC_OLD-4742a172e2f4be6a072b9923102dff7fd82cc48c.tar.xz
* This fixes the stair issue that Sdague reported on *nix. Be aware that if you cross a border into a region, the new region doesn't know your height and therefore you're about a meter off the ground. If the region doesn't know your height, you won't be able to climb steps. If you're in that state, edit your appearance and the region will learn your height and you will again be able to climb steps.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODECharacter.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
index aa74509..f9010e6 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
@@ -571,8 +571,17 @@ namespace OpenSim.Region.Physics.OdePlugin
571 571
572 // If the PID Controller isn't active then we set our force 572 // If the PID Controller isn't active then we set our force
573 // calculating base velocity to the current position 573 // calculating base velocity to the current position
574 PID_D = 2200.0f; 574 if (System.Environment.OSVersion.Platform == PlatformID.Unix)
575 PID_P = 900.0f; 575 {
576 PID_D = 3200.0f;
577 PID_P = 1400.0f;
578 }
579 else
580 {
581 PID_D = 2200.0f;
582 PID_P = 900.0f;
583 }
584
576 585
577 if (m_pidControllerActive == false) 586 if (m_pidControllerActive == false)
578 { 587 {