public override void MoveCharacter(Vector3 position, bool rotateToDirection = true)
 {
     if (target && meleeManager.hitProperties.hitDamageTags.Contains(target.gameObject.tag))
     {
         if (Physics.Raycast(cc._capsuleCollider.bounds.center, (target.bounds.center - cc._capsuleCollider.bounds.center).normalized, meleeManager.GetAttackDistance()))
         {
             RotateTo((target.bounds.center - cc._capsuleCollider.bounds.center).normalized);
             ClearTarget();
             TriggerAttack();
         }
         else
         {
             base.MoveCharacter(position, rotateToDirection);
         }
     }
     else
     {
         base.MoveCharacter(position, rotateToDirection);
     }
 }