How can I make an AI character pathfind a way to get behind the player while it avoids the player's line of sight?