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"

I'm having issues with AI Navigation in UE4.

I'm watching this video of AI navigation and then the video maker says that I need to put down "Get Random Point" and I have version 4.21 which doesn't seem to have that, so now I'm trying to use the "Reachable Point In Radius" but it says I need to put something in for the origin, so I'm wondering "what do I need to put in?" Please tell me what I need to put, because I can't find any answers for it online so I hope the answer hub will work.

Product Version: UE 4.21
more ▼

asked Dec 10 '18 at 09:15 PM in Blueprint Scripting

avatar image

21 1 1

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

1 answer: sort voted first

I have 4.21 and it has both "get random point in navigable radius" and "get random reachable point in radius" nodes. Most likely it is one of those nodes that you are supposed to be using. As for the "origin" issue, that can be whatever you want. If you have an object you want the AI to roam within 1000 units of for example you could put that objects location as the origin. If you want the AI to roam throughout the whole map, have your origin at 0,0,0 (assuming your map is centered about this point) and make sure the radius is large enough the AI can cover your entire map from the center point. The origin is really whatever you want it to be.

more ▼

answered Dec 11 '18 at 12:05 AM

avatar image

Nebula Games Inc
5.4k 28 9 15

(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