ScenePresence passes the avatar rotation down to the physics engine. This will be a no-op for ODE but enables asymmetrical avatars for BulletSim.

This commit is contained in:
Robert Adams
2012-12-28 16:29:16 -08:00
parent 7266eeca6e
commit fdf8732cd7

View File

@@ -560,6 +560,10 @@ namespace OpenSim.Region.Framework.Scenes
set
{
m_bodyRot = value;
if (PhysicsActor != null)
{
PhysicsActor.Orientation = m_bodyRot;
}
// m_log.DebugFormat("[SCENE PRESENCE]: Body rot for {0} set to {1}", Name, m_bodyRot);
}
}