I’m integrating A* Pathfinding into my project, and testing it for the first time in a scene.
The graph is correctly indicating in red non-walkable areas.
My problem is that the seeker gives me a path in where the last step ends in a non-walkable node.
Here are some screenshots to show what I’m talking about:
In this case, the path ends where it’s marked. The gray plank represents a main player (it has a character controller attached), and it’s currently blocked by the obstacle, thus never actually reaching the end of the path.
From the previous location where the player got stuck, I select another non-walkable location. The path avoids the red areas, except at the end, where it, again, ends in an invalid location.
This is a third attempt where you can see again how it avoids the red areas and ends in an invalid node.
I’m sure this is a configuration issue, but I can’t seem to find out which one. I played with the layer masks, but I don’t know what could be telling the Seeker to avoid ending the path in such areas.
Thanks again for any help.
Carlos.