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"

[Closed] Avoid dynamic obstacles navmesh [C++]

Hi!

I'm working on a RTS prototype but can't get the units to avoid each other, instead they sometimes get stuck which isn't the desired behavior. Is there a good way to let moving units avoid dynamic obstacles like other units or must a custom system be implemented for this behavior?

Product Version: Not Selected
Tags:
more ▼

asked Apr 12 '14 at 05:10 PM in C++ Programming

avatar image

undercover
853 126 112 138

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

The question has been closed Jun 16 '14 at 02:46 PM by undercover for the following reason:

Problem is not reproducible or outdated


1 answer: sort voted first

Not sure about this, but I have the same problem. But currently I am working on all game features and later on I will work on the better pathfinding.

If UE4 have no better dynamic pathfinding, I would try the following approach.

My approch later would be to write a new BTTask for my Behavior Tree. So I will probably use the simple MoveTo and then I would use my own BTTask that checks if the new location is blocked (including the size of the mesh). If so, he have to find a new location in a x-size radius around the desired location.

Something like this maybe :D

more ▼

answered Apr 13 '14 at 07:03 AM

avatar image

Jack Harb
116 3 4 5

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

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question