aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorUbitUmarov2012-05-05 10:47:51 +0100
committerUbitUmarov2012-05-05 10:47:51 +0100
commite3226aecd9fd1859f450f7912a6544c563834fcf (patch)
tree20b528d5d892ca5d63b0766d5f19163d28095978 /OpenSim/Region/Framework
parentubitODE prims: - moved outbounds checking back to UpdatePositionAndVelocity()... (diff)
downloadopensim-SC_OLD-e3226aecd9fd1859f450f7912a6544c563834fcf.zip
opensim-SC_OLD-e3226aecd9fd1859f450f7912a6544c563834fcf.tar.gz
opensim-SC_OLD-e3226aecd9fd1859f450f7912a6544c563834fcf.tar.bz2
opensim-SC_OLD-e3226aecd9fd1859f450f7912a6544c563834fcf.tar.xz
SOG: tell physics about when we want a force or a impulse. (sorry add to change here also)
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 7e6b077..f9c2193 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 }