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 can I restrict where certain characters can go in a navmesh?

Hello im trying to create different navmesh areas where only certain AI controlled character types can access. For example Character Type A can only access Area A but Character Type B can access areas A and B.

I see that I probably need to create a class inherited from a NavArea and then setup a navmodifier using this class for this, but I'm not seeing how to tell characters that they can only access certain navareas.

Any insight would be appreciated in the right way to solve this problem.

Product Version: Not Selected
Tags:
more ▼

asked Apr 25 '14 at 09:37 PM in C++ Programming

avatar image

jaran
123 3 7 13

avatar image Ben.Driehuis Apr 30 '14 at 07:57 AM

Ive been trying to work this out too. I noticed that you can create different nav meshs by adding different supported agents in the navigation system settings (under project settings).

The navigation system itself then uses the nav mesh for the agent which best matches the width/height of your AIs movement component nav agent properties.

What I havent found as yet is how to tell it to use a specific nav mesh directly by either using the support agent index or name.

avatar image Raikoh Jul 23 '14 at 03:19 PM

Im trying to do the same thing, i looked at the code and it doesn't look like we can do it easily, i mostly do blueprint stuff so im not the best person to tell. Can anyone tell if they have done it, or a not difficult way to do it? thx

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

0 answers: sort voted first
Be the first one to answer this question
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