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"

Which classes to refer for navmesh

Hi, I want to know which classes should I refer for getting information regarding Unreal Engine 4 navigation system.

For now, I can only find 1 such way to access the navigation system through.

 UNavigationSystem* NavSys = UNavigationSystem::GetCurrent(OwnerComp);

And as far I can see, the navigationsystem does have some useful functions regarding finding random points where the ai can move to etc. Are there any more class which can help me in similar things?

Product Version: Not Selected
more ▼

asked Oct 05 '14 at 06:01 PM in C++ Programming

avatar image

428 77 118 148

avatar image Shadowriver Oct 06 '14 at 12:26 AM

There some navigation components, did you tried those?

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

1 answer: sort voted first


Like ShadowRiver said, check out




Using Custom Components

These two components are created for each AI unit in the Controller class function

 void AController::InitNavigationControl(UNavigationComponent*& PathFindingComp, UPathFollowingComponent*& PathFollowingComp)

I override this function to use my own custom Navigation components!

My AI Thread

As seen in the videos in my AI thread here:


Video Pic For You

Here's a gif of my AI using my custom Nav components finding a jumping path to its target using only C++, and a simple nav mesh volume in editor. There are no special helpers in the level! This was all calculated in C++ !

alt text

more ▼

answered Oct 06 '14 at 05:24 AM

avatar image

10.6k 446 346 1088

avatar image envenger Oct 06 '14 at 08:52 AM

Wow that AI seems amazing. I will take a look at those components. Thanks...

(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