diff options
author | Teravus Ovares (Dan Olivares) | 2009-11-21 04:39:41 -0500 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-11-21 04:39:41 -0500 |
commit | 7760da1a4cb5bbccd218c90e311b41b8897f3e05 (patch) | |
tree | fcba42deda1212b79419c44ed56cf575a26c9524 /OpenSim/Region/Physics/OdePlugin | |
parent | * Fixes one of two terse update issues. There's still one left, but this one... (diff) | |
download | opensim-SC_OLD-7760da1a4cb5bbccd218c90e311b41b8897f3e05.zip opensim-SC_OLD-7760da1a4cb5bbccd218c90e311b41b8897f3e05.tar.gz opensim-SC_OLD-7760da1a4cb5bbccd218c90e311b41b8897f3e05.tar.bz2 opensim-SC_OLD-7760da1a4cb5bbccd218c90e311b41b8897f3e05.tar.xz |
* Fixes the second of two terse update issues. Physical objects should react normally again.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-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; |