* 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.

ThreadPoolClientBranch
Teravus Ovares 2008-01-29 01:20:43 +00:00
parent beefbb46d2
commit 4742a172e2
1 changed files with 11 additions and 2 deletions

View File

@ -571,8 +571,17 @@ namespace OpenSim.Region.Physics.OdePlugin
// If the PID Controller isn't active then we set our force // If the PID Controller isn't active then we set our force
// calculating base velocity to the current position // calculating base velocity to the current position
if (System.Environment.OSVersion.Platform == PlatformID.Unix)
{
PID_D = 3200.0f;
PID_P = 1400.0f;
}
else
{
PID_D = 2200.0f; PID_D = 2200.0f;
PID_P = 900.0f; PID_P = 900.0f;
}
if (m_pidControllerActive == false) if (m_pidControllerActive == false)
{ {