aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-04-27 11:01:34 +0100
committerUbitUmarov2012-04-27 11:01:34 +0100
commit8ef7df5a563a850fea6c1a6f22de55a09cecebe7 (patch)
treeb7b3a4852970acd3df14689f80e7ded2570540c0 /OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
parenttest (diff)
downloadopensim-SC_OLD-8ef7df5a563a850fea6c1a6f22de55a09cecebe7.zip
opensim-SC_OLD-8ef7df5a563a850fea6c1a6f22de55a09cecebe7.tar.gz
opensim-SC_OLD-8ef7df5a563a850fea6c1a6f22de55a09cecebe7.tar.bz2
opensim-SC_OLD-8ef7df5a563a850fea6c1a6f22de55a09cecebe7.tar.xz
test
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 26f8cf0..4f8c4c3 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
@@ -1004,13 +1004,13 @@ namespace OpenSim.Region.Physics.OdePlugin
1004 } 1004 }
1005 else 1005 else
1006 { 1006 {
1007 breakfactor = 5f * m_mass; 1007 breakfactor = m_mass;
1008 vec.X -= breakfactor * vel.X; 1008 vec.X -= breakfactor * vel.X;
1009 vec.Y -= breakfactor * vel.Y; 1009 vec.Y -= breakfactor * vel.Y;
1010 if (flying) 1010 if (flying)
1011 vec.Z -= breakfactor * vel.Z; 1011 vec.Z -= breakfactor * vel.Z;
1012 else 1012 else
1013 vec.Z -= 2f* m_mass * vel.Z; 1013 vec.Z -= .5f* m_mass * vel.Z;
1014 } 1014 }
1015 1015
1016 if (flying) 1016 if (flying)