mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Moved applying an impulse to a newly rezzed object to minimise the delay getting the object moving.
This commit is contained in:
@@ -2491,7 +2491,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
if (new_group.RootPart.PhysActor != null && new_group.RootPart.PhysActor.IsPhysical && llvel != Vector3.Zero)
|
||||
{
|
||||
new_group.RootPart.ApplyImpulse(llvel, false);
|
||||
//Recoil.
|
||||
llApplyImpulse(new LSL_Vector(llvel.X * groupmass, llvel.Y * groupmass, llvel.Z * groupmass), 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user