In this Unity tutorial we’re going to look at how we can use Animation Layers in Unity, to transition to injured animations as the health of the player decreases.
We’ll start by setting up a basic scene with a character that transitions from idle to running.
Then we’ll add a synchronised animation layer that contains injured versions of the character animations.
Finally, we’ll look at how to create a script that allows us to smoothly transition between the healthy and injured animations, based on the player’s current health.
The project files are available to our patrons here:
►
The final script can be found here
►
Help support our work:
► Patreon:
► Ko-fi:
Follow us:
► Ketra Games:
► Patreon:
18 views
100
30
1 month ago 00:22:23 1
Structures Burn as Palisades Fire Explodes to 1,200+ Acres
4 months ago 00:06:12 1
СЛЁЗЫ В ИХ ГЛАЗАХ: без еды они погибнут... Ксения в гостях.
4 months ago 00:40:27 1
emaciated stray cat hadn’t eaten for three days and was gently lifted by warm hands as it lay dying.