From 8dd5f08b6e7d68663307b4346d19ceef711c8425 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 11 May 2012 15:53:31 +0100 Subject: revert terminal vel reduction. It helped but not efective --- OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs') 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 } } - if (velLengthSquared > 625.0f) // 25m/s apply breaks + if (velLengthSquared > 2500.0f) // 50m/s apply breaks { - breakfactor = 0.31f * m_mass; + breakfactor = 0.16f * m_mass; vec.X -= breakfactor * vel.X; vec.Y -= breakfactor * vel.Y; vec.Z -= breakfactor * vel.Z; -- cgit v1.1