diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index a6ce0e2..468c7ea 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2276,7 +2276,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2276 | 2276 | ||
2277 | if (pa != null) | 2277 | if (pa != null) |
2278 | { | 2278 | { |
2279 | pa.AddForce(impulse, true); | 2279 | // false to be applied as a impulse |
2280 | pa.AddForce(impulse, false); | ||
2280 | m_scene.PhysicsScene.AddPhysicsActorTaint(pa); | 2281 | m_scene.PhysicsScene.AddPhysicsActorTaint(pa); |
2281 | } | 2282 | } |
2282 | } | 2283 | } |
@@ -2290,7 +2291,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2290 | { | 2291 | { |
2291 | if (!IsAttachment) | 2292 | if (!IsAttachment) |
2292 | { | 2293 | { |
2293 | pa.AddAngularForce(impulse, true); | 2294 | // false to be applied as a impulse |
2295 | pa.AddAngularForce(impulse, false); | ||
2294 | m_scene.PhysicsScene.AddPhysicsActorTaint(pa); | 2296 | m_scene.PhysicsScene.AddPhysicsActorTaint(pa); |
2295 | } | 2297 | } |
2296 | } | 2298 | } |