diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 13 |
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 | { |