From b23b29a53e5dcccc363500d9937e69d6fddc3881 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Fri, 24 Dec 2010 16:23:00 -0800 Subject: This fixes mantis #5198 and related. Physics is not my expertise, so I'm not 100% sure of what all the consequences of this change are. Pushing up, so others can take a look. --- OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs') diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index a2229e8..6b74e74 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs @@ -1127,6 +1127,11 @@ namespace OpenSim.Region.Physics.OdePlugin _position.Y = vec.Y; _position.Z = vec.Z; + // I think we need to update the taintPosition too -- Diva 12/24/10 + m_taintPosition.X = vec.X; + m_taintPosition.Y = vec.Y; + m_taintPosition.Z = vec.Z; + // Did we move last? = zeroflag // This helps keep us from sliding all over -- cgit v1.1