Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Agent moving between multiple NavMeshData

Discussion in 'AI & Navigation Previews' started by WBonX, Apr 18, 2024.

  1. WBonX

    WBonX

    Joined:
    Aug 7, 2018
    Posts:
    66
    Does anyone know if there is a way to traverse with an agent multiple navmeshdata (surfaces aligned)?

    Context: It is a 3d procedural world (with hills etc..), I can't use navmeshlinks since it is not flat.
    It is big (5km>), thus it has to be split into multiple navmeshdata to compute the navmesh at runtime without overhead (time to build it ahead is too much, trying without splitting into multiple navmeshdata makes the game unplayable).


    At the moment everything works except the agents stopping at the navmeshdata borders (recognized has obstacles apparently).

    Thought the new experimental.AI could be a solution (i.e. navMeshQuery.GetPathResult etc..) anyone knows if this together with NavMeshWorld can travers multiple NavMeshdata?