ApplyImpulse now forwards impulse in both local and global modes.

0.6.0-stable
Dahlia Trimble 2008-09-29 19:01:45 +00:00
parent 87ac46c1c5
commit 5eb433ae26
1 changed files with 3 additions and 6 deletions

View File

@ -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.