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. 

How can I use navmeshes with clients?

Hi all, My problem is that I don't know how to allow the clients to use a navmesh to move their pawn. At the moment the navmesh only work in the server.

Product Version: Not Selected
Tags:
more ▼

asked Nov 26 '14 at 05:33 PM in Using UE4

avatar image

Jainko
118 11 14 166

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

1 answer: sort voted first

Currently it's not possible, but has been requested by internal projects so we're going to add it in not too distant future.

If you wanted to give it a try yourself, you'd need to modify UNavigationSystem::CreateNavigationSystem C++ function. It's pretty straightforward once you look at that function's code.

Cheers,

--mieszko

more ▼

answered Nov 26 '14 at 06:01 PM

avatar image

MieszkoZ STAFF
7.3k 223 57 412

avatar image User-658380556 May 10 '15 at 08:58 PM

Find

 UNavigationSystem* UNavigationSystem::CreateNavigationSystem(UWorld* WorldOwner)
 {
     UNavigationSystem* NavSys = NULL;
 
 #if WITH_SERVER_CODE || WITH_EDITOR

..

And replace with

 UNavigationSystem* UNavigationSystem::CreateNavigationSystem(UWorld* WorldOwner)
 {
     UNavigationSystem* NavSys = NULL;
 
 #if WITH_SERVER_CODE || WITH_EDITOR || WITH_ENGINE
 ...

I haven't tested this, there might be more to it than this but if MileszkoZ is right then this is a start (as of 4.7).

avatar image MieszkoZ STAFF May 10 '15 at 09:05 PM

Or you can grab 4.8 preview build and change NavigationSystem.bAllowClientSideNavigation via Project Settings ;)

avatar image Bogustus Feb 06 '16 at 12:18 AM

Any update on this?

(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