I want my character to move through the path. But what I want to achieve is different from the examples in the "pathfinding" behaviors guide.
In the image there are many dots and lines, if I click on a dot the program finds the quickest path and the character begins to move to the closest dot until reaching the selected one.
In the examples of the guide there are solid objects that prevent passage and force you to find the path. In my case it's the opposite: the character must move within the dashes.
I had written a complicated algorithm and it worked, but now I want to update it and I don't understand it anymore. maybe with the "pathfinding" behavior I can get the same result or better and faster.
but is it possible?