Search Unity

Nav Mesh Agent stuck on terrain height difference

Discussion in 'Navigation' started by mic474, Jul 5, 2018.

  1. mic474

    mic474

    Joined:
    May 7, 2017
    Posts:
    4
    Hi,

    I have the standard third person AI controller (using humanoid nav mesh agent) targeting the player and following the player nicely except on a bit of slightly higher terrain.

    The agent keeps on walking right in front of the slightly elevated terrain. I have changed the jump height, step height, max slope to almost all values. When baking the nav mesh, everything lights up as 'walkable'.

    How can get the agent to jump/walk up on the slightly higher terrain?

    Off-mesh links don't seem to be the answer since it's not about jumping to gameobjects but just the terrain.

    Can anyone help?

    Lots of thanks for your help!



    Screenshot_1.png
     
  2. Case1

    Case1

    Joined:
    Feb 5, 2018
    Posts:
    1
    Did you ever figure out what was wrong?
     
  3. sadpanders

    sadpanders

    Joined:
    Jan 22, 2023
    Posts:
    12
    i personally just lowered the hieght of my object a tad, x from 200 to 175, and upped obtacle height from 2 to 4
    but im sure thats not viable for many. i cant find another solution :/ mines just a curb. and the mesh clearly covers it fine. but they cant get up the curb D: