add old sp.AddNewMovement with one argument, for possible external code

This commit is contained in:
UbitUmarov
2022-04-16 13:42:52 +01:00
parent dea7b7b1a7
commit a4fa491ea8

View File

@@ -3789,6 +3789,12 @@ namespace OpenSim.Region.Framework.Scenes
Animator.avnChangeAnim(animID, addRemove, sendPack);
}
// old api hook, to remove
public void AddNewMovement(Vector3 vec)
{
AddNewMovement(vec, AgentControlNormalVel);
}
/// <summary>
/// Rotate the avatar to the given rotation and apply a movement in the given relative vector
/// </summary>