Update acceleration to 0 on no tphysical.
parent
0e36994fe7
commit
add47befac
|
@ -804,6 +804,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
if (m_isphysical && Body != IntPtr.Zero)
|
||||
{
|
||||
d.BodyDisable(Body);
|
||||
Halt();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2973,6 +2974,7 @@ Console.WriteLine(" JointCreateFixed");
|
|||
m_angularMotorDirection = Vector3.Zero;
|
||||
m_lastAngularVelocity = Vector3.Zero;
|
||||
m_angularMotorDVel = Vector3.Zero;
|
||||
_acceleration = Vector3.Zero;
|
||||
}
|
||||
|
||||
private void UpdateLinDecay()
|
||||
|
|
Loading…
Reference in New Issue