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
On this page of the site you can watch the video online Using Root Motion with a Character Controller (Unity Tutorial) with a duration of hours minute second in good quality, which was uploaded by the user Ketra Games 28 September 2021, share the link with friends and acquaintances, this video has already been watched 47,967 times on youtube and it was liked by 1.1 thousand viewers. Enjoy your viewing!