Search Unity

Can NavMesh.CalculatePath return a path on the heightmesh?

Discussion in 'Navigation' started by Drowning-Monkeys, Jul 14, 2020.

  1. Drowning-Monkeys

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    328
    Hi guys,

    I've noticed that when I run Navmesh.CalculatePath() it returns a path on the navmesh, even if a heightmesh exists. NavMeshAgent.CalculatePath() however returns a path on the heightmesh. Is there any way to fix the former?
     
  2. Drowning-Monkeys

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    328
  3. Drowning-Monkeys

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    328
  4. Drowning-Monkeys

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    328