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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Grid Based nav Mesh

Hi Is there a way to make Grid Based Nav mesh, so actor can move from sertain point to sertain. I have tried GridPathFollowingComponent but that seems not to be woring. Or is there a way to avoid it, but there is a qestion about AI navigation than. Thanks!!!

Product Version: UE 4.21
Tags:
more ▼

asked Mar 05 '19 at 01:50 PM in C++ Programming

avatar image

loxless
3 1 1

avatar image ThompsonN13 Mar 05 '19 at 02:31 PM

as far as i know nav mesh doesnt have any option for grids. why not just write your own pathing script which implements a*. with a custom path script you could still use the nav mesh when moving the characters but the path script would give you the list of points to move to. i implemented a* in blueprint and its my understanding that its even easier to do via code.

avatar image loxless Mar 05 '19 at 02:41 PM

Yeah, but the engine feels to have it already done with NavLocalGridManager, and GridPathFollowingComponent. But feels like the one you have suggested is the right solution! thanks!

(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