In this Unity game development tutorial we’re going look at how we can easily control when to transition from one animation to another from our scripts.
We’ll see how we can use animation transitions to make a character transition from an idle animation to a running animation when it starts moving.
The project is available here:
► https://www.patreon.com/posts/49571039
The final script is available here:
► https://dotnetfiddle.net/UIqGOB
Help support our work:
► Patreon: https://www.patreon.com/ketragames
► Ko-fi: https://ko-fi.com/ketragames
Follow us:
► Ketra Games: http://www.ketra-games.com
► Patreon: https://www.patreon.com/ketragames
► Twitter: https://twitter.com/ketragames
► Facebook: https://facebook.com/ketragames
00:00 – Introduction
00:45 – Getting a rigged character from Mixamo
01:24 – Adding the rigged character to the scene
03:12 – Adding an idle animation to the character
04:52 – Adding a running animation to the character
06:03 – Transitioning from idle to running
07:21 – Controlling the transition from a script
09:30 – Conclusion
If you can support the channel in any way possible we would be extremely grateful.
Patreon – https://www.patreon.com/ketragames
Ko-fi – https://ko-fi.com/ketragames
#KetraGames #LearnUnity #UnityTutorials #UnityTips
Voir sur youtube