Skip to content

In this tutorial repository you will learn how to make a NavMeshAgent traverse a NavMesh without using SetDestination nor the mouse to click-to-move. We'll use the keyboard to move the NavMeshAgent along the NavMesh instead, apply a configurable smoothing to the inputs so the agent doesn't abruptly swap directions and rotations.

License

Notifications You must be signed in to change notification settings

llamacademy/ai-series-part-34

Repository files navigation

NavMesh Movement WITHOUT Click to Move / SetDestination

In this tutorial repository you will learn how to make a NavMeshAgent traverse a NavMesh without using SetDestination nor the mouse to click-to-move. We'll use the keyboard to move the NavMeshAgent along the NavMesh instead, apply a configurable smoothing to the inputs so the agent doesn't abruptly swap directions and rotations.

The keyboard input in this repository supports both the new and old input systems. The video focuses only on the new input system.

Youtube Tutorial

Patreon Supporters

Have you been getting value out of these tutorials? Do you believe in LlamAcademy's mission of helping everyone make their game dev dream become a reality? Consider becoming a Patreon supporter and get your name added to this list, as well as other cool perks. Head over to https://patreon.com/llamacademy to show your support.

Gold Tier Supporters

  • YOUR NAME HERE!

Silver Tier Supporters

  • Raphael
  • Andrew Bowen
  • Gerald Anderson
  • YOUR NAME HERE!

Bronze Tier Supporters

  • Bastian
  • Trey Briggs
  • AudemKay
  • YOUR NAME HERE!

Other Projects

Interested in other AI Topics in Unity, or other tutorials on Unity in general?

Requirements

  • Requires Unity 2020.3 LTS or higher.

About

In this tutorial repository you will learn how to make a NavMeshAgent traverse a NavMesh without using SetDestination nor the mouse to click-to-move. We'll use the keyboard to move the NavMeshAgent along the NavMesh instead, apply a configurable smoothing to the inputs so the agent doesn't abruptly swap directions and rotations.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages