Search Unity

NavMeshLinks and moving NavMeshAgent

Discussion in 'Scripting' started by ryanas, Sep 3, 2019.

  1. ryanas

    ryanas

    Joined:
    Oct 2, 2013
    Posts:
    14
    Hi,

    It seems like NavMeshLinks do not work with NavMeshAgent.Move and only really work with NavMeshAgent.destination or even NavMeshAgent.SetDestination.

    I've tried to modify the Unity examples which provide examples of NavMeshLinks but NavMeshAgent.isOnOffMeshLink never returns true.

    Is there anything that can be done when moving an agent with a continuous offset such as NavMeshAgent.Move or even receive a call back to tell the agent that they're on a link?

    It seems as though this has previously been asked here https://forum.unity.com/threads/navmeshagent-isonoffmeshlink-move.163500/ and has been a problem since 2012 yet no one Unity side has responded yet.
     
    Last edited: Sep 3, 2019
unityunity