docs.unity3d.com
    Show / Hide Table of Contents

    Navigation How-Tos

    The following topics describe a set of techniques, and include code samples, to implement common tasks in navigation. As with all code in our documentation, you are free to use these samples for any purpose without crediting Unity.

    Topic Description
    Tell a NavMeshAgent to Move to a Destination Set a destination for a NavMesh agent.
    Move an Agent to a Position Clicked by the Mouse Use a mouse click to set the destination for a NavMesh agent.
    Make an Agent Patrol Between a Set of Points Set patrol points for a NavMesh agent.
    Couple Animation and Navigation Integrate animation into your navigation.
    Back to top
    Copyright © 2023 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on Thursday, October 19, 2023