Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    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.