Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to export OffMeshLink data from the baked navmesh?

Discussion in 'Navigation' started by bxzr, May 21, 2019.

  1. bxzr

    bxzr

    Joined:
    May 13, 2019
    Posts:
    5
    My issue is to export navmesh data, which contains mesh data, offmeshlink data and tile cache data. These data will be used in server for path finding.
    I have tried to look into UnityEngine.dll and UnityEditor.dll, but it seems no public interface I can use. UnityEditor.dll only have build method and I infered that the path finding canculating is in C++ part in Unity, where I can not touch. And in UnityEngine.dll, I can find current offmeshlink with agent, but not all offmeshlinks. Use an agent to try all paths in the scene is not a feasible method eithor.
    I also have tried some tools such as A-Star path finding, Critterai and RecastDemo, but have no way to get offmeshlink which is auto generated. Even I have not find auto generated offmeshlink with jump distance like Unity.

    so.......is there any way to solve this issue?
    Thanks for lot.
     
    Last edited: May 21, 2019
  2. bxzr

    bxzr

    Joined:
    May 13, 2019
    Posts:
    5
    Help!!!!!