diff options
author | Robert Adams | 2016-03-06 14:23:06 -0800 |
---|---|---|
committer | Robert Adams | 2016-03-06 14:23:06 -0800 |
commit | be43fc2234731c452842b6fd7c08a33ba568b3eb (patch) | |
tree | 4f6f12de43ff9ec79230404828238e45fe18dcf2 /OpenSim/Region/PhysicsModules/BulletS/BSParam.cs | |
parent | Remove unused parameter ShouldUseFireAndForgetForCollisions. It was (diff) | |
download | opensim-SC-be43fc2234731c452842b6fd7c08a33ba568b3eb.zip opensim-SC-be43fc2234731c452842b6fd7c08a33ba568b3eb.tar.gz opensim-SC-be43fc2234731c452842b6fd7c08a33ba568b3eb.tar.bz2 opensim-SC-be43fc2234731c452842b6fd7c08a33ba568b3eb.tar.xz |
BulletSim: use the new 'setAvatarSize' physics call introduced in 0.9.
This disables all the avatar size fudge numbers previously used by BulletSim.
If you have your region tuned to the old way, set
"[BulletSim]AvatarUseBefore09SizeComputation=true" in your INI files.
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/PhysicsModules/BulletS/BSParam.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs b/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs index e34e3a9..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", |