*TEST* diferent avatar collider

This commit is contained in:
UbitUmarov
2012-12-03 17:05:05 +00:00
committed by Melanie
parent f21d990820
commit 8aa5fdb6a3
3 changed files with 351 additions and 104 deletions

View File

@@ -571,7 +571,18 @@ namespace OpenSim.Region.Framework.Scenes
set
{
m_bodyRot = value;
// m_log.DebugFormat("[SCENE PRESENCE]: Body rot for {0} set to {1}", Name, m_bodyRot);
// m_log.DebugFormat("[SCENE PRESENCE]: Body rot for {0} set to {1}", Name, m_bodyRot);
if (PhysicsActor != null)
{
try
{
PhysicsActor.Orientation = value;
}
catch (Exception e)
{
m_log.Error("[SCENE PRESENCE]: Orientation " + e.Message);
}
}
}
}
@@ -3435,7 +3446,7 @@ namespace OpenSim.Region.Framework.Scenes
PhysicsActor = scene.AddAvatar(
LocalId, Firstname + "." + Lastname, pVec,
new Vector3(0f, 0f, Appearance.AvatarHeight), isFlying);
new Vector3(0.45f, 0.6f, Appearance.AvatarHeight), isFlying);
//PhysicsActor.OnRequestTerseUpdate += SendTerseUpdateToAllClients;
PhysicsActor.OnCollisionUpdate += PhysicsCollisionUpdate;