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"

dynamic navmesh for dynamic objects?

alt text

The selected object in this test level I am making is a wall which, based on a viewcone system, will disappear and reappear, collision and all. However, as is halfway necessary, the Navmesh has a gap where the wall is standing.As of right now, my little AI chick will run around the wall instead of follow me through it when it disappears. This will become a problem when this wall is part of a larger, continuous wall. Is it possible to have this gap fill dynamically whenever the wall disappears and allows passage?

Product Version: Not Selected
more ▼

asked Jan 21 '15 at 05:41 AM in Using UE4

avatar image

164 26 26 33

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

2 answers: sort voted first

You need to make sure you have your navmesh set up for runtime generation. You can do that via Project Settings -> Navigation Mesh -> RebuildAtRuntime. Also, bear in mind this doesn't really work with BSP. You should also consider making your disappear-able walls "navigation obstacles" (there's a whole section of parameters for it in static mesh editor) which will greatly improve navmesh generation performance.



more ▼

answered Jan 21 '15 at 10:14 AM

avatar image

MieszkoZ STAFF
7.3k 225 57 413

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

Hi Bennick,

Does MieszkoZ answer work for you ? Are you dynamically destroying and adding the static mesh to the level or simply turning its collision and visibility off when making it disappear. If your only making the actor to be hidden in game and set its collision to no collision , then try displacing it to a location outside the level when making it disappear . Since even if the mesh is hidden it still contributes to the navmesh , so moving it outside the volumes should help you.

more ▼

answered Jan 21 '15 at 11:11 AM

avatar image

66 8 7 18

avatar image Bennick Jan 21 '15 at 08:16 PM

His solution worked Just fine for my purposes. I may need a Little extra scripting to make it perfect but its fine. Thank you!

(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