ScenePresence passes the avatar rotation down to the physics engine. This will be a no-op for ODE but enables asymmetrical avatars for BulletSim.
parent
7266eeca6e
commit
fdf8732cd7
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue