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"

Navigating AI around other AI

Hello.

I have an AI that follows a spline component. The AI bails out of its route if the route is blocked by another AI (done using a distance check between itself and the returned AI via EQS) or when it reaches the end of its route. When the AI bails out, it loops through a series of goal locations and selects the closest one to move to.

Problem is, when it sets the move to location based on the closest goal location, it doesn't regard positions of other AI in the path finding. Therefore, it will run into a group of other AIs and get stuck. I have RVOAvoidance enabled. How can I make the AI form its path around the other AIs?

Thanks! -Trevor

Product Version: UE 4.12
Tags:
more ▼

asked Jun 18 '16 at 02:46 PM in Everything Else

avatar image

LordTorsten85
43 5 7 15

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

1 answer: sort voted first

Have you tried using DetourAIController? It has built-in avoidance that works decently for my personal needs. Also you could try changing pathfinding settings to make your actors obstacles when they don't use pathfinding, but that's only a tweak that I used with DetourAIController.

more ▼

answered Jul 01 '16 at 11:44 AM

avatar image

Niaphim
56 3 6 7

(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