Idle Animation
What is an idle animation?
Idle animations are animation loops that occur when the character is not performing any actions.
You can make this with an idle animation

Common idle animations include but not limited to:
Looking around.
Sleeping/stretching/relaxing.
Reading a book/playing a video game.
Playing/fidgeting with objects.
Commenting on the ambiance.
Adjusting clothes/weapons.
Singing and/or dancing.
Flicking long hair if any
Entertaining themselves
Interacting with each other, if any
Getting impatient
How to create idle animation in MYTY Kit
MYTY Kit provides Frame Sequence 1D Adapter to support the sequential animation of sprites. As the name suggests, it is an adapter that takes a sprite 1D Controller as a target. With some configurations, this adapter outputs a single float value which varies on time and is used as an input for the target Controller.
Frame Sequence 1D Adapter
Image of the inspector window of the adapter

Controller
: The target controller to apply loop animationStart
: Start value of interval. It can be larger than the End value.End
: End value of interval. It can be smaller than the Start value.Repeat
: If this field is checked, the animation will loop forever.Swing
: (Valid only if Repeat is checked) Specify how the output value repeats. Suppose that Start and End are 0 and 1.If unchecked, the value moves from 0 to 1. After it hits the End value, the value goes to Start and continues to move to End. 0…1→0…1
If checked, when the value hits the End, then the value moves back to the Start. 0…1→1…0
Step Count
: Specify how many steps are included n the intervalUnit Time
: Determines a time interval for each step in seconds.Step Count * Unit Time
will be the duration of a single cycle of an animation.
How to Use the Frame Sequence 1D Adapter
Configure a sequence folder for idle animation in the animation folder of the PSB file

In 'Sprite Editor", assign a bone to VFX placeholder layer and sprites under Animation Group

Create an empty game object under 'Controller Group' and rename it according to your preference
Add component 'Sprite 1D Range Controller MSR' to game objects created in step 3

Open ‘Sprite 1D Range Controller’ and add place holder layer in ‘Hierarchy’ and hit ‘Auto Load Labels’

Create an empty game object under 'Motion Adapter Group' or a group with component: 'Motion Adapter Group' and rename it according to your preference
Add component ‘Frame Sequence 1D Adapter’ in the game object created in step 6

Modify the settings within the 'Inspector' window to achieve the desired animation effect
Press the Play button to check the applied idle animation

Last updated