From 66be75556be0a36bca1d513ee105d4d38f31a72a Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Wed, 20 Jan 2016 06:35:53 -0800 Subject: [PATCH] BulletSim: increase default value of AvatarStopZeroThreshold as this reduces the occurance of stopped avatar drifting in the viewer. Not sure why but this is a short term fix while investigation continues. --- OpenSim/Region/PhysicsModules/BulletS/BSParam.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs b/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs index aea69d7061..389a4418b7 100755 --- a/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs @@ -633,7 +633,7 @@ public static class BSParam new ParameterDefn("AvatarAddForcePushFactor", "BSCharacter.AddForce is multiplied by this and mass to be like other physics engines", 0.315f ), new ParameterDefn("AvatarStopZeroThreshold", "Movement velocity below which avatar is assumed to be stopped", - 0.1f, + 0.4f, (s) => { return (float)AvatarStopZeroThreshold; }, (s,v) => { AvatarStopZeroThreshold = v; AvatarStopZeroThresholdSquared = v * v; } ), new ParameterDefn("AvatarBelowGroundUpCorrectionMeters", "Meters to move avatar up if it seems to be below ground",