Search Unity

Procedural Terrain

Discussion in 'Navigation' started by Sciwiz12, Oct 10, 2015.

  1. Sciwiz12

    Sciwiz12

    Joined:
    Sep 25, 2014
    Posts:
    32
    How do I navmesh when my height values for my terrain are given by a perlin noise function and my other meshes are also possibly placed by a random or noise function? Can I still use the nav mesh or do I have to make my own dynamic pathing tools?
     
  2. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,325
    Own tool or asset store, there are a few decent ones.
    I think "they" are planning for runtime navmesh baking.
     
  3. Lahzar

    Lahzar

    Joined:
    May 6, 2013
    Posts:
    87
    You could do something like converting the heightmesh to a navmesh and move it up slightly, but I would just use an asset from the asset store. I always recommend the A* project made by Aron Granberg. I haven't really tested the navmesh options in the pro version, but an A* pathfinding system would be very easy to implement and update in this sort of sitaution.