mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
ApplyImpulse now forwards impulse in both local and global modes.
This commit is contained in:
@@ -1156,13 +1156,10 @@ 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);
|
||||
}
|
||||
if (m_parentGroup != null)
|
||||
{
|
||||
m_parentGroup.applyImpulse(impulse);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user