ApplyImpulse now forwards impulse in both local and global modes.
parent
87ac46c1c5
commit
5eb433ae26
|
@ -1156,15 +1156,12 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
Vector3 newimpulse = AXimpulsei * AXgrot;
|
||||
impulse = new PhysicsVector(newimpulse.X, newimpulse.Y, newimpulse.Z);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
if (m_parentGroup != null)
|
||||
{
|
||||
m_parentGroup.applyImpulse(impulse);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Apply physics to this part.
|
||||
|
|
Loading…
Reference in New Issue