Update acceleration to 0 on no tphysical.

avinationmerge
Kitto Flora 2010-03-19 18:53:16 -04:00
parent 0e36994fe7
commit add47befac
1 changed files with 3 additions and 1 deletions

View File

@ -804,6 +804,7 @@ namespace OpenSim.Region.Physics.OdePlugin
if (m_isphysical && Body != IntPtr.Zero)
{
d.BodyDisable(Body);
Halt();
}
}
@ -2972,7 +2973,8 @@ Console.WriteLine(" JointCreateFixed");
m_wLinObjectVel = Vector3.Zero;
m_angularMotorDirection = Vector3.Zero;
m_lastAngularVelocity = Vector3.Zero;
m_angularMotorDVel = Vector3.Zero;
m_angularMotorDVel = Vector3.Zero;
_acceleration = Vector3.Zero;
}
private void UpdateLinDecay()