diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index a60c551..0219540 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -560,6 +560,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
560 | set | 560 | set |
561 | { | 561 | { |
562 | m_bodyRot = value; | 562 | m_bodyRot = value; |
563 | if (PhysicsActor != null) | ||
564 | { | ||
565 | PhysicsActor.Orientation = m_bodyRot; | ||
566 | } | ||
563 | // m_log.DebugFormat("[SCENE PRESENCE]: Body rot for {0} set to {1}", Name, m_bodyRot); | 567 | // m_log.DebugFormat("[SCENE PRESENCE]: Body rot for {0} set to {1}", Name, m_bodyRot); |
564 | } | 568 | } |
565 | } | 569 | } |