fix the real cause of double velocity
parent
372b76031b
commit
bdc62144ae
|
@ -352,7 +352,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (pa != null && pa.IsPhysical && vel != Vector3.Zero)
|
if (pa != null && pa.IsPhysical && vel != Vector3.Zero)
|
||||||
{
|
{
|
||||||
sceneObject.RootPart.ApplyImpulse((vel * sceneObject.GetMass()), false);
|
sceneObject.RootPart.ApplyImpulse((vel * sceneObject.GetMass()), false);
|
||||||
sceneObject.Velocity = vel;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue