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.

Question Splited mesh and navmesh

Discussion in 'Navigation' started by valarus, Aug 13, 2022.

  1. valarus

    valarus

    Joined:
    Apr 7, 2019
    Posts:
    401
    Am I allowed to have one mesh for navmesh which has many smaller planes?
    This is one object but has many planes next to each other.
    Does Unity allows so many vertices on top of each other for navmesh and further for Lightmapper?

    I have to plan ahead.

    d3gf.JPG
     
  2. Terraya

    Terraya

    Joined:
    Mar 8, 2018
    Posts:
    637
    Yes, it does work, already with your small example you could try it out :)

    Small Edit: You can create a NavMeshAgent, size it as big as needed.

    Take Care: You have those planes aside of your "Main Object", if they have "Colliders" which can collide with other objects, it can happen that you will get stuck since the NavMeshAgent will not calculate that within.

    If you want that to be calculated, then you will have to make your NavMeshAgent bigger which leads to the demand of your baked area to have bigger paths to move on