diff options
author | Robert Adams | 2013-02-16 19:28:38 -0800 |
---|---|---|
committer | Robert Adams | 2013-02-16 19:28:38 -0800 |
commit | e549c2922ab2af6c4fbe08c3492918a5d5f4ba61 (patch) | |
tree | 2bbfcb8b93e543b469a03b00678f6fbb79854546 /OpenSim/Region/Physics/BulletSPlugin | |
parent | Fix shape parameters sent for meshes tosupport the full number of faces (diff) | |
download | opensim-SC_OLD-e549c2922ab2af6c4fbe08c3492918a5d5f4ba61.zip opensim-SC_OLD-e549c2922ab2af6c4fbe08c3492918a5d5f4ba61.tar.gz opensim-SC_OLD-e549c2922ab2af6c4fbe08c3492918a5d5f4ba61.tar.bz2 opensim-SC_OLD-e549c2922ab2af6c4fbe08c3492918a5d5f4ba61.tar.xz |
BulletSim: fix physical object appearing to slowly float off when
they stop moving.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | 2 |
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; |