- Home /
Proceduraly Generated Levels vs NPC Navigation
I plan on creating a procedural maze crawler with multiple enemies fighting the player in real time.
Unity's built-in NavMesh cannot be used here, as the level needs to be static - NAvMesh can't be generated on runtime, nor parted into chunks, which could be merged seamlessly in the procedural level generation process.
How can I make a Navmesh in a proceduraly generated dungeon crawler?
Answer by Cherno · Jul 29, 2015 at 07:49 PM
Use Aaron Granberg's Astart Pathfinding Project, available on the asset store, and there's also a comprehensive scripting API and user forum for it on his homepage. It comes in free and pro versions. It supports NavMesh, Grid, and Point graphs. All graphs can be created or modified at runtime. If you have a procedurally generated dungeon, you yould just pass it a mesh containing the floor tiles and rescan the graph, easy as that.
Your answer
Follow this Question
Related Questions
How to change a NavMeshAgent angular rotation speed, 0 Answers
How to get a random point on NavMesh? 2 Answers
Procedurally generated NavMesh. 0 Answers
Procedural NavMesh Instantiating 0 Answers
Dynamic NavMesh Creation at Runtime? 1 Answer