BulletSim: add stationary suppression on AddForce application. This enables
small pushing of avatars (Mantis 7779).LSLKeyTest
parent
5ed90b3921
commit
ddd59fab5f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue