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.

viewer-2-initial-appearance
Diva Canto 2010-12-24 16:23:00 -08:00
parent 3eaaaa0d99
commit b23b29a53e
1 changed files with 5 additions and 0 deletions

View File

@ -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