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"

Nav Mesh Jump Link Automatic

Hi,

I'm trying to create an automatic way to create nav link.

My current code sits at the very end of void FRecastTileGenerator::GatherGeometry, gets all the polys, then get all the vertices, and then do some simple checks to validate if they are a valid pair.

It kind of work.

If I just re-trigger the nav mesh generation, everything is perfect, links are created and in the proper place. But if I move an object, it seems that I use the old nav mesh to generate the links, so if I do a very small move, it looks like it works but everything has a "small" offset. And if I make a big move, no link are created since there was no vertices there before.

When I noticed that I tried creating the link inside FRecastTileGenerator::GenerateNavigationData but with no success.

Is there a better place / better way to do what I need to do where I would have the full data of the full and newly generated nav mesh ?

Thanks

alt text

Product Version: UE 4.12
Tags:
navlink.gif (1.2 MB)
more ▼

asked Aug 11 '16 at 06:43 PM in C++ Programming

avatar image

MarcAndreG
715 28 12 40

avatar image ryanbai Jun 15 '18 at 10:12 AM

I'm interested! would you mind share some details?

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

0 answers: sort voted first
Be the first one to answer this question
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