Zero force and torque on take so that items don't run away when rezzed
parent
e9120890a2
commit
edc78defed
|
@ -357,6 +357,8 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
|
||||||
{
|
{
|
||||||
if (objectGroup.KeyframeMotion != null)
|
if (objectGroup.KeyframeMotion != null)
|
||||||
objectGroup.KeyframeMotion.Stop();
|
objectGroup.KeyframeMotion.Stop();
|
||||||
|
objectGroup.RootPart.SetForce(Vector3.Zero);
|
||||||
|
objectGroup.RootPart.SetAngularImpulse(Vector3.Zero, false);
|
||||||
objectGroup.KeyframeMotion = null;
|
objectGroup.KeyframeMotion = null;
|
||||||
|
|
||||||
Vector3 inventoryStoredPosition = new Vector3
|
Vector3 inventoryStoredPosition = new Vector3
|
||||||
|
|
Loading…
Reference in New Issue