diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 0f44823..16a8588 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -959,7 +959,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
959 | } | 959 | } |
960 | return m_angularVelocity; | 960 | return m_angularVelocity; |
961 | } | 961 | } |
962 | set { m_angularVelocity = value; } | 962 | set |
963 | { | ||
964 | m_angularVelocity = value; | ||
965 | PhysicsActor actor = PhysActor; | ||
966 | if ((actor != null) && actor.IsPhysical && ParentGroup.RootPart == this && VehicleType == (int)Vehicle.TYPE_NONE) | ||
967 | { | ||
968 | actor.RotationalVelocity = m_angularVelocity; | ||
969 | } | ||
970 | } | ||
963 | } | 971 | } |
964 | 972 | ||
965 | /// <summary></summary> | 973 | /// <summary></summary> |