From ddd59fab5ff7a68b0cc208326e6a5602290a0efe Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Mon, 18 Jan 2016 10:50:28 -0800 Subject: BulletSim: add stationary suppression on AddForce application. This enables small pushing of avatars (Mantis 7779). --- OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Region/PhysicsModules') diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs b/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs index 0eb5fba..4b75e32 100644 --- a/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs @@ -683,6 +683,10 @@ public sealed class BSCharacter : BSPhysObject PhysScene.PE.ApplyCentralForce(PhysBody, addForce); PhysScene.PE.Activate(PhysBody, true); } + if (m_moveActor != null) + { + m_moveActor.SuppressStationayCheckUntilLowVelocity(); + } }); } else -- cgit v1.1