Search Unity

[SOLVED] navmesh agent can't handle going up a 0.5 high block

Discussion in 'Navigation' started by nathantyborski, Apr 22, 2019.

  1. nathantyborski

    nathantyborski

    Joined:
    Feb 27, 2019
    Posts:
    2
    I have tried searching for a solution for a while, I couldn't find anything. The AI is unable to climb up the 0.5 high block, then glitches out. Please reply here or add me on discord TerminatorIsGod#4127

     
  2. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    It looks like you haven't rebaked your NavMesh, first of all.
    Your main problem however is that your agents are physics-driven right now, hence why they slide away when they bump against the wall. To fix this, check the Is Kinematic checkbox in their Rigidbodies on. That way collission and such will continue to work, but all movement will be controlled by different components, in this case the NavMeshAgent.
     
  3. nathantyborski

    nathantyborski

    Joined:
    Feb 27, 2019
    Posts:
    2
    Worked thanks