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 to find a path with dynamic obstacle in NavMesh

As the following pic shows, a Character want to move from Point A to Point B, but there're three other Characters are obstructing between A and B, how to find a path between Point A and Point B?

alt text

Even I set Project Settings -> Navigation Mesh -> Runtime Generation to Dynamic, but it doesn't work.

When visualize the Nav Mesh at runtime, the three Characters of obstructing did not modify Nav Mesh. alt text

Product Version: UE 4.12
Tags:
more ▼

asked Jul 23 '16 at 07:39 AM in C++ Programming

avatar image

笑傲江湖-DA
216 14 24 32

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

1 answer: sort voted first

一般来说如果你在level中放置了Nav Mesh Bound Volume,然后在behavior tree中告诉AI要移动到b点他就会自己找到路的。 在放置了volume以后摁P看看B点绿了么 绿了就能走到那 否则就不行

more ▼

answered Jul 23 '16 at 08:44 AM

avatar image

wcl1993
109 33 23 37

avatar image wcl1993 Jul 23 '16 at 08:58 AM

运行时候摁单引号显示AI下一个目的地

avatar image 笑傲江湖-DA Jul 23 '16 at 10:13 AM

多谢你的回答。你说的是静态情况下build Mav Mesh吧,我说的是障碍物动态移动时,如何寻路。

(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