Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Trouble modifying NavMesh

Discussion in 'Getting Started' started by DougReeder, Apr 19, 2021.

  1. DougReeder

    DougReeder

    Joined:
    Apr 19, 2021
    Posts:
    2
    I'm working through the FPS Tutorial. I've added a tree from the models, and would like it to be something the player can't walk through. I have checked the "Navigation Static" checkbox, and re-baked the NavMesh The NavMesh appears to exclude the area around the tree:
    upload_2021-4-18_23-53-1.png

    However, the player is able to walk right through the tree.

    Do I need to do something additional? Or does something else constrain the motion of the player?
     
  2. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,510
    NavMesh is for AI agent movement and will not affect the player. For that, you need colliders.
     
    DougReeder likes this.
  3. DougReeder

    DougReeder

    Joined:
    Apr 19, 2021
    Posts:
    2
    Thanks much!