I have a following issue, where my agent paths to a target that is near the nodes with high penalty:
as you can see, this is not desirable, since enemies will attack structures that seem like they are unreachable, but agents will reach them.
However if I put the target structure 1 tile away, it all works
The blue squares are nodes with high penalty, agent should go around them. The red small square is unwalkable node.
How would I prevent this?
These are the settings:
penalties for the agent (wall nodes on the pictures above are marked as Wall)