Add Random "Bored" Idle Animations to Your Character (Unity Tutorial)

Опубликовано: 29 Октябрь 2024
на канале: Ketra Games
30,768
901

In this Unity game development tutorial we're to going look at how we can add a bit more personality to a character, by playing random "Bored" animations after they’ve been left idle for a period of time.

We'll start by downloading several animations to play when the character becomes bored.

We'll then look at how to use a Blend Tree combined with a State Machine Behaviour Script, to transition to these animations at random after a period of idle time.

The project files are available to our patrons here:
►   / 65535482  

Want to follow along? This project is a good starting point
►   / 62683553  

The full script for this tutorial can be found here
► https://dotnetfiddle.net/ANF7BZ

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
Getting Bored Character Animations from Mixamo - 00:41
Configuring the Bored Idle Animations - 2:18
Setting up the Idle Blend Tree - 3:43
Adding a State Machine Behaviour Script to Randomly Select a Bored Animation - 5:58
Improving the Transitions between Idle Animations - 10:36
Summary - 14:59

#KetraGames #LearnUnity #UnityTutorials #UnityTips