dynamic navmesh for dynamic objects?
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?
asked Jan 21 '15 at 05:41 AM in Using UE4
You need to make sure you have your navmesh set up for runtime generation. You can do that via
answered Jan 21 '15 at 10:14 AM
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.
answered Jan 21 '15 at 11:11 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here