Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

NavMeshAgent, Not Moving

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

  1. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,631
    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,631
    No one?
    My NavMeshAgent is assigned and targetPoint has a value different from current agent position.