Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

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:
    321
    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:
    321
  3. Drowning-Monkeys

    Drowning-Monkeys

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

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    321
unityunity