x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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?

Product Version: UE 4.19
Tags:
more ▼

asked Jul 15 '18 at 05:37 PM in Blueprint Scripting

avatar image

majesttro
11

avatar image troydSPAMBOT3000 Mar 01 '19 at 03:22 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Mar 01 '19 at 06:28 PM

avatar image

mrteuy
146 2 2 4

avatar image troydSPAMBOT3000 Mar 01 '19 at 10:45 PM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question