Show Navigation Mesh in Game

Hi, I am currently working on a demonstration project to show indoor navigation with models from AEC sector.

For this I built up a navigation mesh that I would like to show while the game is running. I want to create an widget with a button that allows me to display the navigation mesh on runtime.

Is there any debug command or sth similiar that i could use? I am working with blueprints.

Best regards and thanks in advance for the support!
Nils

You can press F8 key while playing in editor
By this you will eject from the player character and navigat the world like you do in editor
then press P key to view nav mesh
And when your done you can press F8 again to posses character

2 Likes

Bumping this question.

Want to do something similar for a game we’re making.

My initial impression was to somehow get the Nav Mesh data and draw it ourselves, but don’t know where that is.

Will update if I find anything.

Into the console:
ShowFlag.Navigation = 1
Or execute console command node with the same.
0 to close it.
No idea how to show all the navmeshes though. I have 3 for 3 different agent sizes but… yea.

1 Like

CycleNavDrawn command will change which navmesh is rendered, still while ejected with F8.

F8 does nothing

this also does nothing