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"

How can I export navmesh data to file?

Its need for server side AI calculating, i dont want to use ue4 server side.

 GetWorld()->GetNavigationSystem()->GetMainNavData()->GetGenerator()->ExportNavigationData(FString("C:\\data.txt"));

show error (access memory 0x0000...05) when run.

Product Version: Not Selected
Tags:
more ▼

asked Feb 11 '15 at 04:09 PM in C++ Programming

avatar image

Xssnick
1 2 3 5

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

1 answer: sort voted first

ExportNavigationData is a debug-time tool and was never intended to be used for anything else. What navmesh data do you want to export anyway? ExportNavigationData (when it doesn't crash) spits out an OBJ representing navigable geometry (basically so that we can load it up in RecastDemo or and OBJ viewer to look at it). Do you need actual navmesh to be exported? It's not supported. If you want navigable geometry try getting it from navigation octree (can be fetched from NavigationSystem).

Cheers,

--mieszko

more ▼

answered Feb 11 '15 at 04:40 PM

avatar image

MieszkoZ STAFF
7.3k 225 57 413

avatar image Xssnick Feb 11 '15 at 05:23 PM

I want export coordinates of this points and some pointer to movable/unmovable area if its possible alt text

avatar image MieszkoZ STAFF Feb 11 '15 at 07:19 PM

There are no ready to use functions for that I'm afraid. You'll need to get familiar with Recast code and fetch that data yourself.

(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