Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

How can I have navagents on the floor AND walking on elevations?

Discussion in 'Navigation' started by heltonluizsb, Nov 11, 2019.

  1. heltonluizsb

    heltonluizsb

    Joined:
    Dec 20, 2018
    Posts:
    6
    Hi all!

    I have a terrain with elevation and I want my "enemies" walking on elevations, but if I configure navigation like this:
    Agent Radius: 2.19
    Agent Height: 3.52
    Max Slope: 36
    Step Height 0.76

    I have my enemies fling and I dont want it :-(
    Image: https://uploaddeimagens.com.br/imagens/sem_titulo-png-60b4169d-1f33-4ed9-b2d8-4d32352f36af


    If configure navigation like this:
    Agent Radius: 0.5
    Agent Height: 2
    Max Slope: 35
    Step Height 0.01

    I have my enemies "almost" on the floor, but navigation doesn't reach the elevations...
    Image: https://uploaddeimagens.com.br/imagens/sem_titulo2-png-b9cfc10f-d76f-4f08-a434-346c66edc0b8


    How Can I achieve the best goals?
     
  2. DwinTeimlon

    DwinTeimlon

    Joined:
    Feb 25, 2016
    Posts:
    164
    Tweak your voxel and tilesize to fit your navigation mesh to your terrain. Smaller voxelsizes lead to a more detailed navigation mesh.