aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-04-04 16:38:29 +0100
committerUbitUmarov2012-04-04 16:38:29 +0100
commit787cc0d076f0a56cf48dbef4475ec991da00adf0 (patch)
treea7fe0703f42f598520bbb91d334a02e78f359ac1 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
parentMerge branch 'master' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
downloadopensim-SC-787cc0d076f0a56cf48dbef4475ec991da00adf0.zip
opensim-SC-787cc0d076f0a56cf48dbef4475ec991da00adf0.tar.gz
opensim-SC-787cc0d076f0a56cf48dbef4475ec991da00adf0.tar.bz2
opensim-SC-787cc0d076f0a56cf48dbef4475ec991da00adf0.tar.xz
reverted changes to llApplyRotationalImpulse execution in SOP/SOG. This functions naming is misleading, Here Apply means to apply a instante impulse that may add to previus unprocessed ones and not setting a permanente torque (that is done by llSetTorque).
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 5f33452..54e8d50 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -2181,7 +2181,7 @@ namespace OpenSim.Region.Framework.Scenes
2181 } 2181 }
2182 } 2182 }
2183 2183
2184 public void setAngularImpulse(Vector3 impulse) 2184 public void ApplyAngularImpulse(Vector3 impulse)
2185 { 2185 {
2186 PhysicsActor pa = RootPart.PhysActor; 2186 PhysicsActor pa = RootPart.PhysActor;
2187 2187
@@ -2189,7 +2189,7 @@ namespace OpenSim.Region.Framework.Scenes
2189 { 2189 {
2190 if (!IsAttachment) 2190 if (!IsAttachment)
2191 { 2191 {
2192 pa.Torque = impulse; 2192 pa.AddAngularForce(impulse, true);
2193 m_scene.PhysicsScene.AddPhysicsActorTaint(pa); 2193 m_scene.PhysicsScene.AddPhysicsActorTaint(pa);
2194 } 2194 }
2195 } 2195 }