aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
index 9013414..c7a81e0 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
@@ -1025,10 +1025,10 @@ public sealed class BSPrim : BSPhysObject
1025 if (force.IsFinite()) 1025 if (force.IsFinite())
1026 { 1026 {
1027 float magnitude = force.Length(); 1027 float magnitude = force.Length();
1028 if (magnitude > 20000f) 1028 if (magnitude > BSParam.MaxAddForceMagnitude)
1029 { 1029 {
1030 // Force has a limit 1030 // Force has a limit
1031 force = force / magnitude * 20000f; 1031 force = force / magnitude * BSParam.MaxAddForceMagnitude;
1032 } 1032 }
1033 1033
1034 OMV.Vector3 addForce = force; 1034 OMV.Vector3 addForce = force;