What is a FNavigationQueryFilter?

What exactly is an FNavigationQueryFilter, should this class be extended? How should I be using it? What’s it’s purpose in pathfinding?

Surely, someone could provide an example of when you would use/derive/modify FNavigationQueryFilter, no?

FNavigationQueryFilter is used to configure scoring details of navigation query (like cost of specific navigation areas for example). I believe Unreal Tournament is taking a big advantage of this, and even have “virtual” filters, meaning they have virtual functions that get called to determine cost of specific A* step. I encourage you to look at their sources.

Cheers,

–mieszko

UT doesn’t appear to make sure of the query filters. They generate path nodes from the mesh and use them for pathfinding.

I’m pretty sure you don’t read the forums and there was a recent thread where others were looking for a simple example of how to use the query filters. You’ve mentioned that you guys use areas and filters all the time in fortnite. I’d def appreciate a simple example of how/where/why :o.
forum link here