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:
    14
    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
     
  2. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    312
    brianpkenney10 likes this.
  3. bedsore

    bedsore

    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"
     
    bturela likes this.
  5. bturela

    bturela

    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