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

Accessing navmesh data in code

Discussion in 'Navigation' started by CasperB, May 18, 2015.

  1. CasperB


    May 7, 2015
    As I have searched the web, the docs and this forum I can't seem to find the answer to this question; how to access the navmesh data created in the Unity editor in code (C#).
    My goal is to use the navmesh data in my A* algorithm to determine which node can be accessed or not. The only thing I want to know is whether there is an navmesh at a give x,z location.
    Let me know how or why I can't access this information