Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

Module Based Map Generation With Navmesh?

Discussion in 'Navigation' started by Camronas, Nov 14, 2019.

  1. Camronas

    Camronas

    Joined:
    Apr 20, 2012
    Posts:
    146
    This topic may have come up before, but I couldn't find it so I figured I might as well ask. I have a random map generator that works using modules. Each module is a predetermined prefab, therefore the shape of the navmesh per each module would be known already. Is it possible in some way to pre-bake these navmeshes, generate the world, then more or less staple them together?
    I have tried using Navmesh Surfaces to generate the navmesh in real time, but I keep getting very strange results.
    Any and all feedback would be really appreciated, thanks for your time!
     
  2. vhman

    vhman

    Joined:
    Aug 13, 2018
    Posts:
    105
    Hi @Camronas,

    Never done it before, but is it possible to use offmeshlink for each prefab navmesh to staple them together?