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"

NavMesh configuration for multiple size

I don't succeed to configure nav mesh generation for 3 Agents of different height. (On the 4.7)

alt text

My three agents have the same radius (32) and the height of 64, 128 and 180.
The 64 sized agents should go under the 80 and higher ceiling.
The 128 and 180 sized agents under 192 and 256

Values I try to use:

Engine.NavigationMesh
CellSize (16)
CellHeight (8)
Agent Height (64)
Agent Max Height (180)

Engine.Navigationsystem
Agent 0: Default Query Extent (50 50 180) Agent Height (180)
Agent 1: Default Query Extent (50 50 128) Agent Height (128)
Agent 2: Default Query Extent (50 50 64) Agent Height (128)

And also:
Why have to define height value in Navigation Mesh and Navigation System ?
What is exactly DefaultQueryExtent ?

Thanks.

Product Version: Not Selected
Tags:
navmeshissue.png (625.4 kB)
more ▼

asked Feb 26 '15 at 03:34 PM in Using UE4

avatar image

beanhome
91 2 3 7

avatar image kamrann Feb 26 '15 at 05:44 PM

I believe the configuration on the nav mesh is just a default to be used when you don't specify a particular supported agent on the nav system. So in your case I'd imagine it would not be relevant. The display will only show a navmesh that has 'Enable Drawing' checked - did you actually confirm that your smaller agents are unable to move where they should be?

avatar image beanhome Feb 27 '15 at 12:54 PM

Exact. Indeed, the system works. the display does not show the reality.

My three agents compute a way according to their size.

I just changed the Agent 0 properties: Default Query Extent (50 50 180) Agent Height (175) else it does not walk under the ceiling at 192.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Yeah, I found the way to display all the layer. It's the "Enable Drawing" option in all the RecastNavMesh actor on the map.

Thanks for this feature, it's great !

alt text

navmeshissue2.png (491.4 kB)
more ▼

answered Mar 05 '15 at 04:09 PM

avatar image

beanhome
91 2 3 7

(comments are locked)
10|2000 characters needed characters left
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