FindPathSync Finds only 2 points
I am trying to find the turn points of an actor's path:
I use MoveToLocation function to move my actor to it's target by avoiding obstacles. I have been wondering how can I get the turn points of the path. I am using FindPathSync to find the actor's path and find all the vectors which build it:
Despite there is an obstacle in his way, and as I can see he arounds it, Result contains only 2 vectors - start and end vector. What do I do wrong? how can I get the turn points?
asked Aug 23 '15 at 05:55 PM in C++ Programming
When you're using detour avoidance the path found for AI is not being string-pulled since it's not required for crowd agents. The path contains the full navigation corridor information though.
If you need a string-pulled path you can always call
answered Aug 23 '15 at 09:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here