From 4742a172e2f4be6a072b9923102dff7fd82cc48c Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Tue, 29 Jan 2008 01:20:43 +0000 Subject: * 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. --- OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 13 +++++++++++-- 1 file 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 // If the PID Controller isn't active then we set our force // calculating base velocity to the current position - PID_D = 2200.0f; - PID_P = 900.0f; + if (System.Environment.OSVersion.Platform == PlatformID.Unix) + { + PID_D = 3200.0f; + PID_P = 1400.0f; + } + else + { + PID_D = 2200.0f; + PID_P = 900.0f; + } + if (m_pidControllerActive == false) { -- cgit v1.1