diff options
author | Vegaslon | 2013-03-11 19:08:38 -0400 |
---|---|---|
committer | Robert Adams | 2013-03-15 14:05:38 -0700 |
commit | 78b25094dce9bbc79848da1208c44f0d9ebe8c76 (patch) | |
tree | 05999ceea10a0b46c250ffd48ac5baf8e32b3d21 /OpenSim/Region/Physics/BulletSPlugin | |
parent | Fix server statistics always reporting zero for total network bytes in/out. (diff) | |
download | opensim-SC_OLD-78b25094dce9bbc79848da1208c44f0d9ebe8c76.zip opensim-SC_OLD-78b25094dce9bbc79848da1208c44f0d9ebe8c76.tar.gz opensim-SC_OLD-78b25094dce9bbc79848da1208c44f0d9ebe8c76.tar.bz2 opensim-SC_OLD-78b25094dce9bbc79848da1208c44f0d9ebe8c76.tar.xz |
BulletSim: Tweak vertical angular attraction to remove double VehicleOrientation application fixing the problem with the vertical attractor pushing vehicles nose first into ground when tilted on side.
Signed-off-by: Robert Adams <Robert.Adams@intel.com>
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs b/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs index 235cefc..d347159 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs | |||
@@ -1335,7 +1335,7 @@ namespace OpenSim.Region.Physics.BulletSPlugin | |||
1335 | Vector3 unscaledContribVerticalErrorV = vertContributionV; // DEBUG DEBUG | 1335 | Vector3 unscaledContribVerticalErrorV = vertContributionV; // DEBUG DEBUG |
1336 | vertContributionV /= m_verticalAttractionTimescale; | 1336 | vertContributionV /= m_verticalAttractionTimescale; |
1337 | 1337 | ||
1338 | VehicleRotationalVelocity += vertContributionV * VehicleOrientation; | 1338 | VehicleRotationalVelocity += vertContributionV; |
1339 | 1339 | ||
1340 | VDetailLog("{0}, MoveAngular,verticalAttraction,,origRotVW={1},vertError={2},unscaledV={3},eff={4},ts={5},vertContribV={6}", | 1340 | VDetailLog("{0}, MoveAngular,verticalAttraction,,origRotVW={1},vertError={2},unscaledV={3},eff={4},ts={5},vertContribV={6}", |
1341 | Prim.LocalID, origRotVelW, verticalError, unscaledContribVerticalErrorV, | 1341 | Prim.LocalID, origRotVelW, verticalError, unscaledContribVerticalErrorV, |