mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Zero force and torque on take so that items don't run away when rezzed
This commit is contained in:
@@ -357,6 +357,8 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
|
||||
{
|
||||
if (objectGroup.KeyframeMotion != null)
|
||||
objectGroup.KeyframeMotion.Stop();
|
||||
objectGroup.RootPart.SetForce(Vector3.Zero);
|
||||
objectGroup.RootPart.SetAngularImpulse(Vector3.Zero, false);
|
||||
objectGroup.KeyframeMotion = null;
|
||||
|
||||
Vector3 inventoryStoredPosition = new Vector3
|
||||
|
||||
Reference in New Issue
Block a user