aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs
diff options
context:
space:
mode:
authorMelanie2013-01-25 00:10:32 +0000
committerMelanie2013-01-25 00:10:32 +0000
commit0b8bf69470aa461ac8b6554dce5e56427f39ac74 (patch)
tree9e2175c461425d1abc6ffbdb7d19278a9bf82c2e /OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs
parentMerge branch 'avination' into careminster (diff)
parentBulletSim: reduce the zeroing threshold for rotational velocity. (diff)
downloadopensim-SC-0b8bf69470aa461ac8b6554dce5e56427f39ac74.zip
opensim-SC-0b8bf69470aa461ac8b6554dce5e56427f39ac74.tar.gz
opensim-SC-0b8bf69470aa461ac8b6554dce5e56427f39ac74.tar.bz2
opensim-SC-0b8bf69470aa461ac8b6554dce5e56427f39ac74.tar.xz
Merge branch 'master' into careminster
Conflicts: OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs b/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs
index fe7891e..f1ef449 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs
@@ -1190,8 +1190,6 @@ namespace OpenSim.Region.Physics.BulletSPlugin
1190 // set directly on the vehicle. 1190 // set directly on the vehicle.
1191 private void MoveAngular(float pTimestep) 1191 private void MoveAngular(float pTimestep)
1192 { 1192 {
1193 // VehicleRotationalVelocity = Vector3.Zero;
1194
1195 ComputeAngularTurning(pTimestep); 1193 ComputeAngularTurning(pTimestep);
1196 1194
1197 ComputeAngularVerticalAttraction(); 1195 ComputeAngularVerticalAttraction();
@@ -1201,7 +1199,7 @@ namespace OpenSim.Region.Physics.BulletSPlugin
1201 ComputeAngularBanking(); 1199 ComputeAngularBanking();
1202 1200
1203 // ================================================================== 1201 // ==================================================================
1204 if (VehicleRotationalVelocity.ApproxEquals(Vector3.Zero, 0.01f)) 1202 if (VehicleRotationalVelocity.ApproxEquals(Vector3.Zero, 0.0001f))
1205 { 1203 {
1206 // The vehicle is not adding anything angular wise. 1204 // The vehicle is not adding anything angular wise.
1207 VehicleRotationalVelocity = Vector3.Zero; 1205 VehicleRotationalVelocity = Vector3.Zero;