From ee237fc5dfb42397c0f689b3c101c3be3ed9904c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 27 Apr 2012 12:19:22 +0100 Subject: [PATCH] test --- OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs index 4f8c4c379e..326fe97a77 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs @@ -880,7 +880,13 @@ namespace OpenSim.Region.Physics.OdePlugin { m_iscolliding = true; m_colliderfilter = 2; - m_colliderGroundfilter = 2; + + if (m_colliderGroundfilter > 10) + { + m_colliderGroundfilter = 10; + m_freemove = false; + } + m_iscollidingGround = true; ContactPoint contact = new ContactPoint();