aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authordahlia2015-02-05 14:29:51 -0800
committerdahlia2015-02-05 14:29:51 -0800
commitee810a2cb526f49deefd307cbc0a84ecb52c9053 (patch)
tree4331e3d17431b5c47785f09d707b03932f99ce8d /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentreplace accidently deleted line from last commit (diff)
downloadopensim-SC-ee810a2cb526f49deefd307cbc0a84ecb52c9053.zip
opensim-SC-ee810a2cb526f49deefd307cbc0a84ecb52c9053.tar.gz
opensim-SC-ee810a2cb526f49deefd307cbc0a84ecb52c9053.tar.bz2
opensim-SC-ee810a2cb526f49deefd307cbc0a84ecb52c9053.tar.xz
Set angular velocity in physics actor in SceneObjectPart.AngularVelocity setter. Enables llSetAngularVelocity()
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 1ca250a..6f8d07c 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -957,7 +957,13 @@ namespace OpenSim.Region.Framework.Scenes
957 } 957 }
958 return m_angularVelocity; 958 return m_angularVelocity;
959 } 959 }
960 set { m_angularVelocity = value; } 960 set
961 {
962 m_angularVelocity = value;
963 PhysicsActor actor = PhysActor;
964 if ((actor != null) && actor.IsPhysical)
965 actor.RotationalVelocity = m_angularVelocity;
966 }
961 } 967 }
962 968
963 /// <summary></summary> 969 /// <summary></summary>