diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 16f2d5d..6f14f7b 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |||
@@ -2357,6 +2357,9 @@ Console.WriteLine(" JointCreateFixed"); | |||
2357 | { | 2357 | { |
2358 | // Averate previous velocity with the new one so | 2358 | // Averate previous velocity with the new one so |
2359 | // client object interpolation works a 'little' better | 2359 | // client object interpolation works a 'little' better |
2360 | if (_zeroFlag) | ||
2361 | return Vector3.Zero; | ||
2362 | |||
2360 | Vector3 returnVelocity = Vector3.Zero; | 2363 | Vector3 returnVelocity = Vector3.Zero; |
2361 | returnVelocity.X = (m_lastVelocity.X + _velocity.X)/2; | 2364 | returnVelocity.X = (m_lastVelocity.X + _velocity.X)/2; |
2362 | returnVelocity.Y = (m_lastVelocity.Y + _velocity.Y)/2; | 2365 | returnVelocity.Y = (m_lastVelocity.Y + _velocity.Y)/2; |