Search Unity

NavMeshAgent, Not Moving

Discussion in 'Animation' started by renman3000, Nov 27, 2014.

  1. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    Hi there,
    Its my fist day working with Nav Meshes and I can not get my guy to move.

    Code (csharp):
    1.  
    2. //in update
    3. agent.SetDestination(targetPoint);
    4.  

    Any ideas?
     
  2. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    No one?
    My NavMeshAgent is assigned and targetPoint has a value different from current agent position.