Hi, I want to see if this behavior is a known issue on your radar. First of all:
A* 3.2.5.1
LayerGridGraphGenerator
-
Starting with an area where all nodes are walkable, I use a two GUOs to mark two adjacent nodes as unwalkable
1b) http://screencast.com/t/fvms4woDfUpw. Note that there is no connection between the two unwalkable nodes but the surrounding nodes have connections to the unwalkables (as designed) -
Use one GUO to set the left node to walkable
2b) http://screencast.com/t/1mUQeHT9E. Links from the left node to its north, south, and west neighbors are properly updated but there is no link to its right neighbor (the remaining unwalkable). I believe this is NOT as designed and i think it’s because of an unneeded ‘walkable’ check inside CalculateConnections() in LayerGridGraphGenerator: http://screencast.com/t/KZostAomI1 -
Use one more GUO to set the right node to walkable
3b) http://screencast.com/t/byIR8SlaNFB8. It properly sets connections to all its neighbors (including its left neighbor)
3c) But that link to the left neighbor is still just a one way link. What results is two walkable nodes but with one-way connectivity
Is this a known issue? Is removing that ‘node.walkable’ check in CalculateConnections() the right fix? If you can’t repro I can furnish a test project.
Let me know,
Jeff