diff options
author | Teravus Ovares | 2008-03-30 19:58:14 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-03-30 19:58:14 +0000 |
commit | 8aa4308097ebcc8d51e4d470fe6b0f3582990c3b (patch) | |
tree | cd0b12fb244182b8342dce86635b841d1f0b76b5 /OpenSim/Region/Physics | |
parent | * Quick fix. Re-enabled some code which registers the Terrain Module's Comman... (diff) | |
download | opensim-SC_OLD-8aa4308097ebcc8d51e4d470fe6b0f3582990c3b.zip opensim-SC_OLD-8aa4308097ebcc8d51e4d470fe6b0f3582990c3b.tar.gz opensim-SC_OLD-8aa4308097ebcc8d51e4d470fe6b0f3582990c3b.tar.bz2 opensim-SC_OLD-8aa4308097ebcc8d51e4d470fe6b0f3582990c3b.tar.xz |
* Minor cleanup
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index 62978fd..e9492a9 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |||
@@ -71,7 +71,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
71 | private bool m_pidControllerActive = true; | 71 | private bool m_pidControllerActive = true; |
72 | private float PID_D = 800.0f; | 72 | private float PID_D = 800.0f; |
73 | private float PID_P = 900.0f; | 73 | private float PID_P = 900.0f; |
74 | private static float POSTURE_SERVO = 10000.0f; | 74 | //private static float POSTURE_SERVO = 10000.0f; |
75 | public static float CAPSULE_RADIUS = 0.37f; | 75 | public static float CAPSULE_RADIUS = 0.37f; |
76 | public float CAPSULE_LENGTH = 2.140599f; | 76 | public float CAPSULE_LENGTH = 2.140599f; |
77 | private float m_tensor = 3800000f; | 77 | private float m_tensor = 3800000f; |
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 43a7272..309a767 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |||
@@ -1092,7 +1092,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1092 | if (IsPhysical && Body != (IntPtr)0 && !m_isSelected) | 1092 | if (IsPhysical && Body != (IntPtr)0 && !m_isSelected) |
1093 | { | 1093 | { |
1094 | float PID_D = 2200.0f; | 1094 | float PID_D = 2200.0f; |
1095 | float PID_P = 900.0f; | 1095 | //float PID_P = 900.0f; |
1096 | 1096 | ||
1097 | 1097 | ||
1098 | float m_mass = CalculateMass(); | 1098 | float m_mass = CalculateMass(); |
@@ -1134,15 +1134,15 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1134 | if (System.Environment.OSVersion.Platform == PlatformID.Unix) | 1134 | if (System.Environment.OSVersion.Platform == PlatformID.Unix) |
1135 | { | 1135 | { |
1136 | PID_D = 3200.0f; | 1136 | PID_D = 3200.0f; |
1137 | PID_P = 1400.0f; | 1137 | //PID_P = 1400.0f; |
1138 | } | 1138 | } |
1139 | else | 1139 | else |
1140 | { | 1140 | { |
1141 | PID_D = 2200.0f; | 1141 | PID_D = 2200.0f; |
1142 | PID_P = 900.0f; | 1142 | //PID_P = 900.0f; |
1143 | } | 1143 | } |
1144 | PID_D = 1.0f; | 1144 | PID_D = 1.0f; |
1145 | PID_P = 1.0f; | 1145 | //PID_P = 1.0f; |
1146 | 1146 | ||
1147 | 1147 | ||
1148 | //PidStatus = true; | 1148 | //PidStatus = true; |