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.LSLKeyTest
parent
33af419050
commit
66be75556b
|
@ -633,7 +633,7 @@ public static class BSParam
|
||||||
new ParameterDefn<float>("AvatarAddForcePushFactor", "BSCharacter.AddForce is multiplied by this and mass to be like other physics engines",
|
new ParameterDefn<float>("AvatarAddForcePushFactor", "BSCharacter.AddForce is multiplied by this and mass to be like other physics engines",
|
||||||
0.315f ),
|
0.315f ),
|
||||||
new ParameterDefn<float>("AvatarStopZeroThreshold", "Movement velocity below which avatar is assumed to be stopped",
|
new ParameterDefn<float>("AvatarStopZeroThreshold", "Movement velocity below which avatar is assumed to be stopped",
|
||||||
0.1f,
|
0.4f,
|
||||||
(s) => { return (float)AvatarStopZeroThreshold; },
|
(s) => { return (float)AvatarStopZeroThreshold; },
|
||||||
(s,v) => { AvatarStopZeroThreshold = v; AvatarStopZeroThresholdSquared = v * v; } ),
|
(s,v) => { AvatarStopZeroThreshold = v; AvatarStopZeroThresholdSquared = v * v; } ),
|
||||||
new ParameterDefn<float>("AvatarBelowGroundUpCorrectionMeters", "Meters to move avatar up if it seems to be below ground",
|
new ParameterDefn<float>("AvatarBelowGroundUpCorrectionMeters", "Meters to move avatar up if it seems to be below ground",
|
||||||
|
|
Loading…
Reference in New Issue