Search Unity

Unity Navmesh FAQ

Discussion in 'Navigation' started by laurentlavigne, Aug 15, 2016.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,316
    What it's good for:
    • Static levels (you can carve though)
    • Very fast path finding of many many agents (500+)
    • Fast baking
    • Very simple navigation needs such as open/close door, static areas to avoid or be attracted to
    What it's bad for:
    Troubleshooting:
    • agent wobbles near the target - turn off Auto Braking
    • Pathfinding is slow - turn down the navmesh fidelity by increasing Navigation>Bake>Advanced>Manual Voxel Size
    • Agents take a while before they move - usually happens with 100+ agents or very complex path, increase pathfindingIterationsPerFrame
    • profiler shows high cpu cost for navmesh avoidance - lower avoidanceCollidionTime
    • need cover? Check out the shooter sample of Panda BT
    Good tutorial:
    feel free to correct me, I'll update this post.
     
    Last edited: Aug 22, 2016
    JBR-games likes this.