aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRobert Adams2012-12-28 16:29:16 -0800
committerRobert Adams2012-12-28 16:29:16 -0800
commitfdf8732cd712d8a5799a817e61d4c68e204ba9a2 (patch)
tree5d61c99f244d851dc4e021f7f64c8b6958ab254b
parentBulletSim: add 'AvatarAlwaysRunFactor' parameter and use in setTargetVelocity (diff)
downloadopensim-SC_OLD-fdf8732cd712d8a5799a817e61d4c68e204ba9a2.zip
opensim-SC_OLD-fdf8732cd712d8a5799a817e61d4c68e204ba9a2.tar.gz
opensim-SC_OLD-fdf8732cd712d8a5799a817e61d4c68e204ba9a2.tar.bz2
opensim-SC_OLD-fdf8732cd712d8a5799a817e61d4c68e204ba9a2.tar.xz
ScenePresence passes the avatar rotation down to the physics engine. This will be a no-op for ODE but enables asymmetrical avatars for BulletSim.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
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 }