How to find the closest character to a target actor using the nav system?

Hi,

I am looking for a way to find the closest character to a target actor on the path of the navigation system, i.e I don’t want to use the “GetDistanceTo” method because character may be closer to the target in distance but not on the path. And I can’t either use the “GetCurrentPathIndex” method because characters may be on the same path index.

You could try those, but depending on the amount of tests, that can get expensive quickly.

In C++ you have access to an asynchronous one for the last one. Which might be your only way, if performance becomes a problem.

I’ve never messed with it, but I do believe that this is what EQS queries are for