I want to use a hexagonal grid graph but wanted to see if I was missing something before digging deep into something like the Catlike Coding Hex-Map tutorials.
Essentially, I need objects to know when specific neighboring nodes are occupied or not. I only want my player to be attacked by enemies on the left or right sides like in this image:
I could do this with raycasts but certainly there’s a way to systematically check the nodes of the graph to get this information in a more performant way? Performance is a concern as there will be lots of objects on this graph.