Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

NavMesh CalculateTriangulation tile information??

Discussion in 'Navigation' started by ChristmasEve, Feb 2, 2016.

  1. ChristmasEve


    Apr 21, 2015
    Hey all!
    I'm trying to use 3rd party software (Recast/Detour) to conduct pathfinding in a C++ program outside of Unity but the vertex/triangle/layer data is coming from Unity because that's what my game client uses.

    NavMesh.CalculateTriangulation() returns all of these things but it does not return tile information. Does anyone know how I can get that info? If I can't do it with a Unity Engine call, does anyone have any code that can recreate tile information from the data returned by CalculateTriangulation? I'm sure NavMesh.asset must contain it but I have no idea how to parse that file.

    Thanks in advance!