Good day!
I have set up (hopefully correctly) a 2D project to figure out how I would work out some pathfinding issues that I have in another project.
I tried different colliders on the obstacles and for some reason, the colliders don’t seem to be setting up unwalkable nodes properly. When I do get the unwalkable nodes seemingly placed correctly, my character still seems to walk into the unwalkable node.
I am moving the character via transform.Translate, since it’s a 2D object. I initially thought I had to have some physics on my character to use collision detection, but on further investigation, I don’t think that’s the issue, since I can click in the middle of a red square (unwalkable) and the system will find a path to that note. I assume that if the node is not walkable, then the system would not return a path in the first place (please correct me if I’m wrong about that).
Any help to figure out this issue would be greatly appreciated!