aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-05-11 15:53:31 +0100
committerUbitUmarov2012-05-11 15:53:31 +0100
commit8dd5f08b6e7d68663307b4346d19ceef711c8425 (patch)
tree4686f114dae8b9b53cc8c548815a63cc84ba0bce /OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
parentreduce avatars terminal velocity to less than 30m/s or colisions with basic b... (diff)
downloadopensim-SC_OLD-8dd5f08b6e7d68663307b4346d19ceef711c8425.zip
opensim-SC_OLD-8dd5f08b6e7d68663307b4346d19ceef711c8425.tar.gz
opensim-SC_OLD-8dd5f08b6e7d68663307b4346d19ceef711c8425.tar.bz2
opensim-SC_OLD-8dd5f08b6e7d68663307b4346d19ceef711c8425.tar.xz
revert terminal vel reduction. It helped but not efective
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs')
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
index 43b4581..b0711d7 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
@@ -1006,9 +1006,9 @@ namespace OpenSim.Region.Physics.OdePlugin
1006 } 1006 }
1007 } 1007 }
1008 1008
1009 if (velLengthSquared > 625.0f) // 25m/s apply breaks 1009 if (velLengthSquared > 2500.0f) // 50m/s apply breaks
1010 { 1010 {
1011 breakfactor = 0.31f * m_mass; 1011 breakfactor = 0.16f * m_mass;
1012 vec.X -= breakfactor * vel.X; 1012 vec.X -= breakfactor * vel.X;
1013 vec.Y -= breakfactor * vel.Y; 1013 vec.Y -= breakfactor * vel.Y;
1014 vec.Z -= breakfactor * vel.Z; 1014 vec.Z -= breakfactor * vel.Z;