ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Root Motion NavMeshAgent Animation | AI Series Part 42 | Unity Tutorial

Unity

Tutorial

How to

How to unity

unity how to

llamacademy

unity navmesh agent

unity navmeshagent

navmeshagent

unity navmesh

llama academy

animator

animation

motion

root motion

root motion navmeshagent

root motion animation

rootmotion

root motion animated navmeshagent

animate navmeshagent root motion

root motion animate navmeshagent

animate

animated

Автор: LlamAcademy

Загружено: 2022-09-27

Просмотров: 35264

Описание: Learn how to combine a Root Motion animated model with a NavMeshAgent! This gives you all the pathing benefits and local avoidance of the Navigation System with the precise animation you expect from Root Motion.

Root Motion is a great way to remove that annoying "foot sliding" from mismatched animation vs velocity. But synchronizing that motion with a NavMeshAgent can be tricky! The NavMeshAgent knows where to go and considers local avoidance. So, there's a lot of things to consider when trying to match these two systems!

We've already learned how to animate NavMeshAgents where the NavMeshAgent drives the Animator state (way back in AI Series Part 3:    • Sync Animator and NavMeshAgent States | AI...  ), but in this video we're going to do it the other way - with the Animator driving the NavMeshAgent!

There are multiple ways to approach this solution. In this repository I have chosen what makes the most sense to me - correcting the position of the Root Motion to pathable areas by moving the position of the model back towards the NavMeshAgent when they are out of sync.

Gargoyle Model used here: https://assetstore.unity.com/packages...
It's not required to run the project, but you will need to use a different model for the Player with 1D animation, or update the "PlayerMovement.cs" to set 2D Animator parameters like it's done in "EnemyMovement.cs".

👨‍💻 As always, all code from this video is available on GitHub: https://github.com/llamacademy/ai-ser...

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?sect...

📚 Resources 📚
⚫ Root Motion: https://docs.unity3d.com/Manual/RootM...
⚫ Synchronizing NavMeshAgents and Root Motion: https://docs.unity3d.com/Manual/nav-C...
⚫ NavMeshAgents and Other Systems: https://docs.unity3d.com/Manual/nav-M...
⚫ AI Series Part 3 -    • Sync Animator and NavMeshAgent States | AI...  

As usual with the AI Series, we're using the NavMesh Components: https://docs.unity3d.com/Manual/NavMe... not the built-in navigation system.

🧡 Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support:
🌟 Patreon:   / llamacademy  
🌟 YouTube Member:    / @llamacademy   or click the Join button on any video
📚 Take my Unity ShaderGraph Course:
https://www.gamedev.tv/p/unity-shader...
👕 Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/
💸 Use my Affiliate Link for Humble Bundles https://humblebundleinc.sjv.io/9g4ak4
💸 Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publishe... (affiliate)
💸 Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sal... (affiliate)

Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.

Chapters:
00:00 Topic Introduction
01:22 3 Keys to Successful Root Motion Animated NavMeshAgents
03:42 Animator Overview - 2D Movement Blend Tree
04:52 Animator Overview - 1D Movement Blend Tree
05:54 NavMeshAgent Configuration
06:58 Why You May Want to Use Root Motion Animation
07:40 PlayerMovement.cs - Prepare Agent and Animator for Root Motion
08:46 PlayerMovement.cs - Synchronize Animator and Agent
09:42 PlayerMovement.cs - Set Animator Parameters
12:26 PlayerMovement.cs - Reconcile Difference in Animation and Agent Positions
13:24 Become a Supporter!
13:56 Demo & Showing Polish Focus Areas
15:21 Final Thoughts

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Root Motion NavMeshAgent Animation | AI Series Part 42 | Unity Tutorial

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Find when a NavMeshLink will be Taken | AI Series 43 | Unity Tutorial

Find when a NavMeshLink will be Taken | AI Series 43 | Unity Tutorial

Аниматор юнити - подробное руководство

Аниматор юнити - подробное руководство

NavMeshAgent Avoidance in Depth - 5 Key Takeaways for Optimal Avoidance  | AI Series Part 32

NavMeshAgent Avoidance in Depth - 5 Key Takeaways for Optimal Avoidance | AI Series Part 32

Should You Use Root Motion?

Should You Use Root Motion?

Unity Animation and Mixamo - 180° Quick turns!

Unity Animation and Mixamo - 180° Quick turns!

Using Root Motion with a Character Controller (Unity Tutorial)

Using Root Motion with a Character Controller (Unity Tutorial)

Разбор аниматора UNITY [Прерывания| Blend Tree| Слои анимации]

Разбор аниматора UNITY [Прерывания| Blend Tree| Слои анимации]

Root Motion + NavMeshAgent (and Nav Mesh Links!) | Unity Tutorial

Root Motion + NavMeshAgent (and Nav Mesh Links!) | Unity Tutorial

Creating your first animated AI Character! [AI #01]

Creating your first animated AI Character! [AI #01]

FREE Performance Optimization / Draw Call Reducer (HLOD) | Unity Tutorial

FREE Performance Optimization / Draw Call Reducer (HLOD) | Unity Tutorial

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]