void OnTriggerExit(Collider otherColl)
 {
     if (otherColl.gameObject.tag == "EnemyShip")
     {
         tooClose = false;
         playerAI.SetObstacleNotDetected(otherColl.gameObject);
     }
 }
 void OnTriggerExit(Collider otherColl)
 {
     if (otherColl.gameObject.tag == "obstacle")
     {
         isObstacle = false;
         if (transform.parent.gameObject.tag == "EnemyShip")
         {
             enemyShipAI.SetObstacleNotDetected(otherColl.gameObject);
         }
         if (transform.parent.gameObject.tag == "PlayerShip")
         {
             playerShipAI.SetObstacleNotDetected(otherColl.gameObject);
         }
     }
 }