remove effect of avatar mass, so all jump similar height

This commit is contained in:
UbitUmarov
2022-04-16 13:41:31 +01:00
parent 1bf5ccedec
commit dea7b7b1a7
4 changed files with 6 additions and 5 deletions

View File

@@ -688,7 +688,7 @@ namespace OpenSim.Region.PhysicsModule.BulletS
public override void AvatarJump(float impulseZ)
{
AddForce(false, new OMV.Vector3(0, 0, 0.22f * impulseZ / PhysScene.m_fixedTimeStep));
AddForce(false, new OMV.Vector3(0, 0, 0.22f * Mass * impulseZ / PhysScene.m_fixedTimeStep));
}
public override void AddForce(OMV.Vector3 force, bool pushforce)