diff options
author | Robert Adams | 2019-03-06 10:29:46 -0800 |
---|---|---|
committer | Robert Adams | 2019-03-06 10:29:46 -0800 |
commit | 87c81b5172e98a31405d924cbdb4b7ef271f3c38 (patch) | |
tree | 166d533bb6ba3e6599a43a49113c1219ad44edff /OpenSim/Region/PhysicsModules/BulletS/BSParam.cs | |
parent | dont try to backup a object in the middle of possible multipack link (diff) | |
download | opensim-SC-87c81b5172e98a31405d924cbdb4b7ef271f3c38.zip opensim-SC-87c81b5172e98a31405d924cbdb4b7ef271f3c38.tar.gz opensim-SC-87c81b5172e98a31405d924cbdb4b7ef271f3c38.tar.bz2 opensim-SC-87c81b5172e98a31405d924cbdb4b7ef271f3c38.tar.xz |
BulletSim: Add delay to stationary check after adding force to Avatar.
Fix to Mantis 8496.
Add parameter [BulletSim] AvatarAddForceFrames.
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 495f752..d80b050 100755 --- a/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSParam.cs | |||
@@ -149,6 +149,7 @@ public static class BSParam | |||
149 | public static float AvatarHeightHighFudge { get; private set; } | 149 | public static float AvatarHeightHighFudge { get; private set; } |
150 | public static float AvatarFlyingGroundMargin { get; private set; } | 150 | public static float AvatarFlyingGroundMargin { get; private set; } |
151 | public static float AvatarFlyingGroundUpForce { get; private set; } | 151 | public static float AvatarFlyingGroundUpForce { get; private set; } |
152 | public static int AvatarAddForceFrames { get; private set; } | ||
152 | public static float AvatarTerminalVelocity { get; private set; } | 153 | public static float AvatarTerminalVelocity { get; private set; } |
153 | public static float AvatarContactProcessingThreshold { get; private set; } | 154 | public static float AvatarContactProcessingThreshold { get; private set; } |
154 | public static float AvatarAddForcePushFactor { get; private set; } | 155 | public static float AvatarAddForcePushFactor { get; private set; } |
@@ -634,6 +635,8 @@ public static class BSParam | |||
634 | 5f ), | 635 | 5f ), |
635 | new ParameterDefn<float>("AvatarFlyingGroundUpForce", "Upward force applied to the avatar to keep it at flying ground margin", | 636 | new ParameterDefn<float>("AvatarFlyingGroundUpForce", "Upward force applied to the avatar to keep it at flying ground margin", |
636 | 2.0f ), | 637 | 2.0f ), |
638 | new ParameterDefn<int>("AvatarAddForceFrames", "Frames to allow AddForce to apply before checking for stationary", | ||
639 | 10 ), | ||
637 | new ParameterDefn<float>("AvatarTerminalVelocity", "Terminal Velocity of falling avatar", | 640 | new ParameterDefn<float>("AvatarTerminalVelocity", "Terminal Velocity of falling avatar", |
638 | -54.0f ), | 641 | -54.0f ), |
639 | new ParameterDefn<float>("AvatarContactProcessingThreshold", "Distance from capsule to check for collisions", | 642 | new ParameterDefn<float>("AvatarContactProcessingThreshold", "Distance from capsule to check for collisions", |