diff options
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | 4 |
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) |