public static void Turn( Mobile from, object to )
{
IPoint3D target = to as IPoint3D;
if( target == null )
return;
if( target is Item )
{
Item item = (Item)target;
if( item.RootParent != from )
from.Direction = from.GetDirectionTo( item.GetWorldLocation() );
}
else if( from != target )
{
from.Direction = from.GetDirectionTo( target );
}
}