BulletSim: add stationary suppression on AddForce application. This enables

small pushing of avatars (Mantis 7779).
LSLKeyTest
Robert Adams 2016-01-18 10:50:28 -08:00
parent 5ed90b3921
commit ddd59fab5f
1 changed files with 4 additions and 0 deletions

View File

@ -683,6 +683,10 @@ public sealed class BSCharacter : BSPhysObject
PhysScene.PE.ApplyCentralForce(PhysBody, addForce); PhysScene.PE.ApplyCentralForce(PhysBody, addForce);
PhysScene.PE.Activate(PhysBody, true); PhysScene.PE.Activate(PhysBody, true);
} }
if (m_moveActor != null)
{
m_moveActor.SuppressStationayCheckUntilLowVelocity();
}
}); });
} }
else else