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 make AI avoid obstacles?

Currently when AI is told to follow a path it takes literally the shortest route possible using navmesh which causes it to bum into corners of walls and objects all time.

It know the path and does not run straight into obstacles but it seems to consider itself as a single point in space instead of a capsule so it always tries to avoid the obstacle but ends up hitting the side of it.

like say when walking through a door instead of going the middle of it , it goes through as close to corner as possible. In other words the AI isn't aware that it is a big capsule and not a point or singularity

How do I fix this behaviour?

Product Version: UE 4.13
more ▼

asked Sep 06 '16 at 01:20 PM in Using UE4

avatar image

Commander Shepard
817 62 83 220

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

1 answer: sort voted first

Did you try something like that:

more ▼

answered Sep 06 '16 at 02:30 PM

avatar image

8 2 4

avatar image Commander Shepard Sep 20 '16 at 10:12 AM

@B.Barz why isn't this documented more visibly? Another question, does all this work for a non-character pawn?

(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