Hello,
I’m trying to calculate the total distance of the path returned from seeker.StartPath(startPosition, targetPosition, OnPathComplete)
. In my custom script, I just summed the distances between all the vectors in path.vectorPath
. As you can see from the picture below, the green path is the pre-processed path whereas the NPC actually follows the blue post-processed path. Is the path that get returned from seeker.StartPath
a pre- or post-processed path?
If a pre-processed path is returned, how would I get the post-processed path for a more accurate distance calculation?