I am trying to create a grid based turn based tactics game with a LayerdGrid.
Movement will be strictly centre of node to center of node (E.g. XCOM).
In the below image, the grey grid are the tiles, and the yellow lines are the node connections generated by A* which are in the center of each tile.
If there a way I can make a thin wall (white wall in the image) to block a node connection so the player cant move through it? I have indicated the connections I dont want with red arrows.
Currently Node size is 1, player diameter 1.