mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
BulletSim: add stationary suppression on AddForce application. This enables
small pushing of avatars (Mantis 7779).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user