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 do I associate my character with a Navigation System Agent?

I've made this Agent in order to change the navmesh footprint, but where do I tell my character that it should use this setting? Is it associated by name or is it set in a default? or something else?

Thank you.

alt text

Product Version: Not Selected
capture.png (86.4 kB)
more ▼

asked Sep 26 '14 at 11:23 AM in Blueprint Scripting

avatar image

Asher S Einhorn
650 94 80 181

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

2 answers: sort voted first

If you have only one Supported Agent defined then you don't have to do anything else. All AI agents will use the one and only navmesh.

If you have more Supported Agent NavigationSystem will pick "best fit" for your AI (a one that will guarantee not getting stuck, if possible).



more ▼

answered Sep 26 '14 at 08:00 PM

avatar image

MieszkoZ STAFF
7.3k 225 57 413

avatar image Asher S Einhorn Sep 30 '14 at 03:59 PM

That's weird... So it uses... what to decide which agent is the best pick? capsule extents or something? This kind of automation makes me uneasy..

avatar image MieszkoZ STAFF Oct 01 '14 at 10:58 AM

It's using NavAgent's properties which by default are filled with collision capsule's size. Pawn's NavAgent properties can be set via its defaults in Movement Component > Movement Capabilities. When you decide to do that make sure you set bUpdateNavAgentWithOwnersCollision to false.

avatar image nonder Oct 01 '14 at 04:00 PM

Useful info, also, I would like to ask what effect have these booleans like Can Crouch and so on ?

avatar image MieszkoZ STAFF Oct 03 '14 at 04:24 PM

None at the moment. But you can always read that data in BP/C++ and take advantage of it.

There are future use plans, but not too near future.

avatar image Raikoh Sep 14 '15 at 10:35 PM

I don't understand why is it not possible to set on the character which navmesh to use. Because i want to limit access to a character but not based on his size.

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

As far as I understand - if the navigational actor corresponds to the dimensions, then all available nav-meshes are used to find the way.

This is quite logical:The car can pass on the road but can not drive in a narrow alley, and a person can pass both there and there.

If it is necessary to block the actor's access to a specific place, then one should use one of the prepared types of NavModifire or create own NavModifire type.

more ▼

answered Mar 18 '17 at 08:45 AM

avatar image

147 9 16 21

(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