Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

Navmesh link and NavMeshModifier issues

Discussion in 'AI & Navigation Previews' started by AndresSepulveda, Feb 9, 2017.

  1. AndresSepulveda

    AndresSepulveda

    Joined:
    Mar 12, 2014
    Posts:
    52
    1-
    if i use NavMeshModifier override area,
    any navhit.mask on the overrided area returns a wrong Area ID

    2-I placed NavMeshLink and when i try to find out what kind of link is(for animation and transition purposes) i can't get it read because agent.currentOffMeshLinkData.offMeshLink is always set as null.
    I guess that is trying to access to legacy off mesh link and that's why it get null, because other vars from currentOffMeshLinkData delivers correct information.
     
unityunity