* Fixes the second of two terse update issues. Physical objects should react normally again.

This commit is contained in:
Teravus Ovares (Dan Olivares)
2009-11-21 04:39:41 -05:00
parent 0ffda7128e
commit 7760da1a4c
2 changed files with 4 additions and 0 deletions

View File

@@ -2357,6 +2357,9 @@ Console.WriteLine(" JointCreateFixed");
{
// Averate previous velocity with the new one so
// client object interpolation works a 'little' better
if (_zeroFlag)
return Vector3.Zero;
Vector3 returnVelocity = Vector3.Zero;
returnVelocity.X = (m_lastVelocity.X + _velocity.X)/2;
returnVelocity.Y = (m_lastVelocity.Y + _velocity.Y)/2;