aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorRobert Adams2013-02-16 19:28:38 -0800
committerRobert Adams2013-02-16 19:28:38 -0800
commite549c2922ab2af6c4fbe08c3492918a5d5f4ba61 (patch)
tree2bbfcb8b93e543b469a03b00678f6fbb79854546 /OpenSim/Region
parentFix shape parameters sent for meshes tosupport the full number of faces (diff)
downloadopensim-SC-e549c2922ab2af6c4fbe08c3492918a5d5f4ba61.zip
opensim-SC-e549c2922ab2af6c4fbe08c3492918a5d5f4ba61.tar.gz
opensim-SC-e549c2922ab2af6c4fbe08c3492918a5d5f4ba61.tar.bz2
opensim-SC-e549c2922ab2af6c4fbe08c3492918a5d5f4ba61.tar.xz
BulletSim: fix physical object appearing to slowly float off when
they stop moving.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
index 0323b0d..4bb2a9e 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
@@ -1667,7 +1667,7 @@ public class BSPrim : BSPhysObject
1667 // _velocity = entprop.Velocity; 1667 // _velocity = entprop.Velocity;
1668 // DEBUG DEBUG DEBUG -- smooth velocity changes a bit. The simulator seems to be 1668 // DEBUG DEBUG DEBUG -- smooth velocity changes a bit. The simulator seems to be
1669 // very sensitive to velocity changes. 1669 // very sensitive to velocity changes.
1670 if (!entprop.Velocity.ApproxEquals(_velocity, 0.1f)) 1670 if (entprop.Velocity == OMV.Vector3.Zero || !entprop.Velocity.ApproxEquals(_velocity, 0.1f))
1671 _velocity = entprop.Velocity; 1671 _velocity = entprop.Velocity;
1672 _acceleration = entprop.Acceleration; 1672 _acceleration = entprop.Acceleration;
1673 _rotationalVelocity = entprop.RotationalVelocity; 1673 _rotationalVelocity = entprop.RotationalVelocity;