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"

Runtime navigation rebuild causes jerky movement

I have a couple of characters running a "Move to" task from a behavior tree targeted at a stationary actor; only one AI character is ever moving at a time. The character capsules and pawns are set to affect navigation. When "Rebuild at runtime" is disabled, the navigation works well, except characters run into each other, which is expected. With "Rebuild at runtime" enabled, I get bizarre circling behavior shown in this video (both blue characters are set to move to the green character):

http://tinypic.com/r/eap56r/8

If I reduce "Dirty areas update freq" from the default 60 down to 2 or less, the problem is much less severe, but still noticeable. The only hypothesis I can come up with is that the navigation regeneration is not atomic and some of the movement decisions are occurring while the navigation mesh is in an inconsistent state, but I don't know nearly enough about the implementation to verify this.

Product Version: Not Selected
Tags:
more ▼

asked Apr 22 '15 at 01:24 PM in Using UE4

avatar image

max99x
157 13 8 13

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

1 answer: sort voted first

Try activating Dynamic Obstacle and NavArea_Default on Area Class in the Capsule component of your AI. Sorry for my english.

more ▼

answered Apr 10 '16 at 06:22 PM

avatar image

Tostadorus
8 1 6

(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