diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules/BulletS/BSParam.cs')
-rwxr-xr-x | OpenSim/Region/PhysicsModules/BulletS/BSParam.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs b/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs index 389a441..28df2d9 100755 --- a/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs | |||
@@ -142,6 +142,7 @@ public static class BSParam | |||
142 | public static float AvatarCapsuleWidth { get; private set; } | 142 | public static float AvatarCapsuleWidth { get; private set; } |
143 | public static float AvatarCapsuleDepth { get; private set; } | 143 | public static float AvatarCapsuleDepth { get; private set; } |
144 | public static float AvatarCapsuleHeight { get; private set; } | 144 | public static float AvatarCapsuleHeight { get; private set; } |
145 | public static bool AvatarUseBefore09SizeComputation { get; private set; } | ||
145 | public static float AvatarHeightLowFudge { get; private set; } | 146 | public static float AvatarHeightLowFudge { get; private set; } |
146 | public static float AvatarHeightMidFudge { get; private set; } | 147 | public static float AvatarHeightMidFudge { get; private set; } |
147 | public static float AvatarHeightHighFudge { get; private set; } | 148 | public static float AvatarHeightHighFudge { get; private set; } |
@@ -616,6 +617,8 @@ public static class BSParam | |||
616 | 0.45f ), | 617 | 0.45f ), |
617 | new ParameterDefn<float>("AvatarCapsuleHeight", "Default height of space around avatar", | 618 | new ParameterDefn<float>("AvatarCapsuleHeight", "Default height of space around avatar", |
618 | 1.5f ), | 619 | 1.5f ), |
620 | new ParameterDefn<bool>("AvatarUseBefore09SizeComputation", "Use the old fudge method of computing avatar capsule size", | ||
621 | true ), | ||
619 | new ParameterDefn<float>("AvatarHeightLowFudge", "A fudge factor to make small avatars stand on the ground", | 622 | new ParameterDefn<float>("AvatarHeightLowFudge", "A fudge factor to make small avatars stand on the ground", |
620 | 0f ), | 623 | 0f ), |
621 | new ParameterDefn<float>("AvatarHeightMidFudge", "A fudge distance to adjust average sized avatars to be standing on ground", | 624 | new ParameterDefn<float>("AvatarHeightMidFudge", "A fudge distance to adjust average sized avatars to be standing on ground", |
@@ -633,7 +636,7 @@ public static class BSParam | |||
633 | new ParameterDefn<float>("AvatarAddForcePushFactor", "BSCharacter.AddForce is multiplied by this and mass to be like other physics engines", | 636 | new ParameterDefn<float>("AvatarAddForcePushFactor", "BSCharacter.AddForce is multiplied by this and mass to be like other physics engines", |
634 | 0.315f ), | 637 | 0.315f ), |
635 | new ParameterDefn<float>("AvatarStopZeroThreshold", "Movement velocity below which avatar is assumed to be stopped", | 638 | new ParameterDefn<float>("AvatarStopZeroThreshold", "Movement velocity below which avatar is assumed to be stopped", |
636 | 0.4f, | 639 | 0.45f, |
637 | (s) => { return (float)AvatarStopZeroThreshold; }, | 640 | (s) => { return (float)AvatarStopZeroThreshold; }, |
638 | (s,v) => { AvatarStopZeroThreshold = v; AvatarStopZeroThresholdSquared = v * v; } ), | 641 | (s,v) => { AvatarStopZeroThreshold = v; AvatarStopZeroThresholdSquared = v * v; } ), |
639 | new ParameterDefn<float>("AvatarBelowGroundUpCorrectionMeters", "Meters to move avatar up if it seems to be below ground", | 642 | new ParameterDefn<float>("AvatarBelowGroundUpCorrectionMeters", "Meters to move avatar up if it seems to be below ground", |