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
Sur cette page du site, vous pouvez voir la vidéo en ligne Using Root Motion with a Character Controller (Unity Tutorial) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Ketra Games 28 septembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 47,967 fois et il a aimé 1.1 mille téléspectateurs. Bon visionnage!