2D Grid Graph Scanning weird

I’m trying to use a grid layer on a tilemap, but it’s detecting the tiles in a werid way; it shouldn’t be detecting any of the background as impassible, yet it seems that any background tile connected to an obstacle tile will get perceived as “impassible”. All of my tiles are set to 1x1, and I have the grid set to use 2D physics with a circle collider set to a diameter of 1.

Any ideas as to why the scan is getting this weird behaviour?

Hi

Try setting the diameter to something like 0.99. If the collider has a size of 1x1 the collision testing code might detect it since it is exactly on the edge of adjecent nodes.

@aron_granberg Excellent, thank you!!