aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-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;