AI: Navigating to outside of navigation invoker range

Hi. I have an AI character that uses dynamic navigation with a NavigationInvoker with limited range for performance reasons. My map is open world with dynamic features and quite large in size, so dynamic navigation has to be used

My problem is, I want to navigate from point A to point B which is for example 20000 units away, more than my navigation invoker tile generation radius. If I use the AI moveto function or anything similar, it just fails. I’ve verified that these functions do work if the target point is indeed within the invoker generation radius.

Is there an inbuilt function which would just pick a points from the invoker radius edge closest to the target and use those as waypoints or do something similar? Or would I have to create a solution myself?

Hey majesttro, did you ever find a solution to this?

You can use a couple different ways, like move direct to until you reach an area with pathfinding, or setup pathfinding nodes along the way.

Personally, I would set up multiple navpoints on the route - creating and destroying them as needed to reach the long distance. That would work for smaller local areas of movement, but not smart pathfinding over very long distances (in case a mountain is in the way, for example).

In cases like that, you can most likely set up a lower res version of your map and implement something like A* on it to move around entire “regions” of the level that are impenetrable.

Interesting. I was going to try using EQS to get valid points within Nav Invoker radius, Move To and repeat till at destination. Yet to do this though, ill post my solution when I find it.

Hey guys, I know this is a bit late but I found this recently when researching this myself. Unreal AI navigation - path finding in a huge world - UE4 Open World Tutorials #46 - YouTube

Hope it helps!

2 Likes