NavMeshAgent Keyboard Movement | AI Series Part 34 | Unity Tutorial
Learn how to move NavMeshAgents with the keyboard! No mouse required. Click-to-move is not the only way to move NavMeshAgents and have them respect the bounds of the NavMesh. Using this simple technique you can easily move a NavMeshAgent on a NavMesh.
This method does have some drawbacks:
1. NavMeshLinks are challenging to get working with this method
2. Cost Modifiers are also challenging to work with.
3. Obstacle Avoidance doesn’t work (but Priority does!)
As always, all code from this video is available on GitHub:
As usual with the AI Series, we’re using the NavMesh Components: not the built-in navigation system.
----
Believe in LlamAcademy’s mission and have received value from the videos? Consider becoming a Patreon supporter:
----
Most tutorials come from knowledge gained making htt
26 views
106
26
3 years ago 00:11:39 26
NavMeshAgent Keyboard Movement | AI Series Part 34 | Unity Tutorial