Find path to location synchronously analogs

Hello everyscripter.

I still interested in AI and stuff, and still have issues with pathfinding. Now, i was creating a simple pathfinding project, and realised that FPTLS is stupid as hell. Here i have screenshot what is happening, when i use it:

So, what i want to know is how to make fptls generate correct path, or find analogs to it.

Thanks.

The reason it is happening is because the pathfinding algorithm UE4 (and almost every other game out there) uses is A*. A* uses a heuristic rule that allows it to close in on a target location more naturally - but which sometimes causes problems such as the one you are having.

If you want to change it you would likely have to write your own pathfinding algorithm that ignores the heuristic rule - such as Dijkstra’s Algorithm.

Alternatively, you could maybe try the AI MoveTo node, to see if it works better.