Prioritising the distanceMoved variable on tied "moveCost" nodes fixed the problem of moving from one side of a line of unwalkable nodes to the other, as well as getting around some corners, but it is still struggling with more complex paths around maps with a "+" style wall.
Fairly certain prioritising the distanceFromTarget variable over the distanceMoved variable will fix this.
Prioritising the distanceMoved variable on tied "moveCost" nodes fixed the problem of moving from one side of a line of unwalkable nodes to the other, as well as getting around some corners, but it is still struggling with more complex paths around maps with a "+" style wall.
Fairly certain prioritising the distanceFromTarget variable over the distanceMoved variable will fix this.