parent
4823f2ae8e
commit
a47d851295
|
@ -2473,7 +2473,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
//group.ApplyPhysics(m_physicalPrim);
|
//group.ApplyPhysics(m_physicalPrim);
|
||||||
if (group.RootPart.PhysActor != null && group.RootPart.PhysActor.IsPhysical && vel != Vector3.Zero)
|
if (group.RootPart.PhysActor != null && group.RootPart.PhysActor.IsPhysical && vel != Vector3.Zero)
|
||||||
{
|
{
|
||||||
group.RootPart.ApplyImpulse(vel, false);
|
group.RootPart.ApplyImpulse((vel * group.GetMass()), false);
|
||||||
group.Velocity = vel;
|
group.Velocity = vel;
|
||||||
rootPart.ScheduleFullUpdate();
|
rootPart.ScheduleFullUpdate();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue