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 to stop the Nav Modifier Component from projecting downwards onto the navmesh?

Hey all,

I created a tool where you can spawn a bunch of UBoxComponents and string them together. They are all held by an AActor that also has a UNavModifierComponent. So I believe what happens is that the NavModifierComponent looks at all the volumes that the AActor holds and alters the navmesh according to their volumes/positions/rotations.

But I have a problem, the navmesh gets altered based of the projection (like the shadow) of the UBoxComponent's. So UBoxComponents that aren't touching the navmesh can still affect it, unless they are very high up. Is this a setting I can toggle on the UNavModifierComponent or am I missing something?

Note all the spawning and navmesh altering happens within the UE4 editor not at game run-time. Also this is all done in C++.

Any help or insight would be really appreciated!

Product Version: UE 4.21
Tags:
more ▼

asked Jan 14 '19 at 07:41 PM in C++ Programming

avatar image

LDOGLONDON
100 5 5 8

avatar image LDOGLONDON Jan 24 '19 at 11:10 PM

I also checked if the default NavModifier Volumes do this (the ones that you can find within the editor under volumes) and they do. So I think this just apart of the NavModifierComponent. So I guess I have a feature request? @Epic Please make it so NavModifiers don't use there projection to affect the NavMesh.

-Luv London

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

1 answer: sort voted first

make your own NavModifierComponent

more ▼

answered Jan 24 '19 at 11:14 PM

avatar image

LDOGLONDON
100 5 5 8

(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