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

0.7.5-pf-bulletsim
Robert Adams 2012-12-28 16:29:16 -08:00
parent 7266eeca6e
commit fdf8732cd7
1 changed files with 4 additions and 0 deletions

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);
}
}