* Eliminate forceAvatarMovement() in favour of existing AddNewMovement()

0.6.1-post-fixes
Justin Clarke Casey 2008-11-26 17:30:47 +00:00
parent 7c2f8e2ee9
commit 759850cbc1
1 changed files with 4 additions and 7 deletions

View File

@ -721,11 +721,6 @@ namespace OpenSim.Region.Environment.Scenes
m_scene.AddAgentTime(System.Environment.TickCount - m_perfMonMS);
}
public void forceAvatarMovement(Vector3 position, Quaternion rotation)
{
AddNewMovement(position, rotation);
}
#region Status Methods
/// <summary>
@ -1666,9 +1661,11 @@ namespace OpenSim.Region.Environment.Scenes
}
/// <summary>
/// Adds a new movement
/// Rotate the avatar to the given rotation and apply a movement in the given relative vector
/// </summary>
protected void AddNewMovement(Vector3 vec, Quaternion rotation)
/// <param name="vec">The vector in which to move. This is relative to the rotation argument</param>
/// <param name="rotation">The direction in which this avatar should now face.
public void AddNewMovement(Vector3 vec, Quaternion rotation)
{
if (m_isChildAgent)
{