Search Unity

Navmesh Agents stays within Navmesh while player falls

Discussion in 'Navigation' started by brianpkenney10, Jan 31, 2019.

  1. brianpkenney10

    brianpkenney10

    Joined:
    Nov 8, 2016
    Posts:
    27
    I'm trying to figure this out from the sample assets. I created the NavMesh based on a tutorial, but when I move the player to the edge of the NavMesh, the Navmesh agent does what it is supposed to do (stays within the boundary), but my player keeps going and falls? You can kinda see it in the pic. If I move the player forward, it falls. I have a character controller attached to my player.
    upload_2019-1-30_16-11-39.png
    Any help is appreciated. Unity 2018.3.3
     
    SpringManatee34 likes this.
  2. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    PauloZti and brianpkenney10 like this.
  3. kolmerg

    kolmerg

    Joined:
    May 5, 2019
    Posts:
    1
    Hey! Did you solve this? I have the same tutorial and i ran into the same problem.
     
  4. VR19Tech

    VR19Tech

    Joined:
    Jul 2, 2017
    Posts:
    1
    Try going to Edit>Project Settings>Physics and checking "Auto Sync Transforms"
     
    THUREIN13, Jiabou, aikia17 and 13 others like this.
  5. brrnrrdo

    brrnrrdo

    Joined:
    May 30, 2019
    Posts:
    1
    Thanks (y)
     
  6. Mostrous

    Mostrous

    Joined:
    Jun 19, 2019
    Posts:
    1
    Thanks everyone for the help!
     
  7. alipas

    alipas

    Joined:
    Jan 14, 2017
    Posts:
    3
  8. vishrudhraj

    vishrudhraj

    Joined:
    Apr 13, 2020
    Posts:
    2
    Thank you so much. It Worked
     
  9. milindksali

    milindksali

    Joined:
    Sep 12, 2019
    Posts:
    1
    Thank you very much! This helped!
     
  10. GINTUKI

    GINTUKI

    Joined:
    Jul 28, 2018
    Posts:
    1
    solved! thank you.
     
  11. THUREIN13

    THUREIN13

    Joined:
    Sep 5, 2021
    Posts:
    1
    Thanks a lot VR19Tech. It worked
     
  12. Scopely-Avantica

    Scopely-Avantica

    Joined:
    Apr 19, 2021
    Posts:
    1
    Thanks, could someone explain why this solves the problem? thanks in advance.