diff options
author | Vegaslon | 2014-06-20 09:34:07 -0400 |
---|---|---|
committer | Justin Clark-Casey | 2014-08-02 00:49:50 +0100 |
commit | ed6aabb19727225d0699f7a623cc88efe1614f99 (patch) | |
tree | 64ac223d855df446173675d2ccd9edc077704bfc /OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |
parent | add LSL constants PRIM_SPECULAR and PRIM_NORMAL (diff) | |
download | opensim-SC_OLD-ed6aabb19727225d0699f7a623cc88efe1614f99.zip opensim-SC_OLD-ed6aabb19727225d0699f7a623cc88efe1614f99.tar.gz opensim-SC_OLD-ed6aabb19727225d0699f7a623cc88efe1614f99.tar.bz2 opensim-SC_OLD-ed6aabb19727225d0699f7a623cc88efe1614f99.tar.xz |
Bulletsim: Create AvatarTerminalVelocity to BulletSim like what ODE and SL has. Before this falling from really high caused the avatar to fall faster then the veiwer can handle and cause camera issues.
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs index 042e8a4..8b4df05 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |||
@@ -138,6 +138,7 @@ public static class BSParam | |||
138 | public static float AvatarHeightHighFudge { get; private set; } | 138 | public static float AvatarHeightHighFudge { get; private set; } |
139 | public static float AvatarFlyingGroundMargin { get; private set; } | 139 | public static float AvatarFlyingGroundMargin { get; private set; } |
140 | public static float AvatarFlyingGroundUpForce { get; private set; } | 140 | public static float AvatarFlyingGroundUpForce { get; private set; } |
141 | public static float AvatarTerminalVelocity { get; private set; } | ||
141 | public static float AvatarContactProcessingThreshold { get; private set; } | 142 | public static float AvatarContactProcessingThreshold { get; private set; } |
142 | public static float AvatarStopZeroThreshold { get; private set; } | 143 | public static float AvatarStopZeroThreshold { get; private set; } |
143 | public static int AvatarJumpFrames { get; private set; } | 144 | public static int AvatarJumpFrames { get; private set; } |
@@ -589,6 +590,8 @@ public static class BSParam | |||
589 | 5f ), | 590 | 5f ), |
590 | new ParameterDefn<float>("AvatarFlyingGroundUpForce", "Upward force applied to the avatar to keep it at flying ground margin", | 591 | new ParameterDefn<float>("AvatarFlyingGroundUpForce", "Upward force applied to the avatar to keep it at flying ground margin", |
591 | 2.0f ), | 592 | 2.0f ), |
593 | new ParameterDefn<float>("AvatarTerminalVelocity", "Terminal Velocity of falling avatar", | ||
594 | -54.0f ), | ||
592 | new ParameterDefn<float>("AvatarContactProcessingThreshold", "Distance from capsule to check for collisions", | 595 | new ParameterDefn<float>("AvatarContactProcessingThreshold", "Distance from capsule to check for collisions", |
593 | 0.1f ), | 596 | 0.1f ), |
594 | new ParameterDefn<float>("AvatarStopZeroThreshold", "Movement velocity below which avatar is assumed to be stopped", | 597 | new ParameterDefn<float>("AvatarStopZeroThreshold", "Movement velocity below which avatar is assumed to be stopped", |