In this Unity game development tutorial we're going to look at how we can combine a Character Controller with Root Motion, to make the movement perfectly match the animation.
We'll start with an existing scene that has an animated character whose movement is controlled by a script.
We'll then convert this scene to use Root Motion to move the character, making use of the OnAnimatorMove method to utilise the movement of the animation when moving the Character Controller.
The project files are available to our patrons here:
► / 56681787
Want to follow along? This project is a good starting point
► / 56046140
The final script can be found here
► https://dotnetfiddle.net/gBeb0M
Help support our work:
► Patreon: / ketragames
► Ko-fi: https://ko-fi.com/ketragames
Follow us:
► Ketra Games: http://www.ketra-games.com
► Patreon: / ketragames
► Twitter: / ketragames
► Facebook: / ketragames
Introduction - 0:00
Converting the scene to use Root Motion - 0:50
Using Root Motion in combination with the Character Controller - 5:42
Solving sliding foot issue - 8:54
Summary - 11:45
#KetraGames #LearnUnity #UnityTutorials #UnityTips
Смотрите видео Using Root Motion with a Character Controller (Unity Tutorial) онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Ketra Games 28 Сентябрь 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 47,967 раз и оно понравилось 1.1 тысяч посетителям.