Experimenting with Mixamo animations in Unity.
What is Mixamo?
Mixamo is an online character animation service. They have a crazy amount of animations and automatic rigging for bipedal humanoids.
Here is their website if you want to check them out! https://www.mixamo.com/#/
Setup
I began with making my character in MagicaVoxel.

The character must be in T-pose for the Mixamo’s auto rigger.
After just a few steps the character is rigged and ready for animation. Here’s a list of all the animations I was looking to use
- Idle
- Right/Left Turn
- Running Forward/Back
- Running Forward Right/Left
- Running Back Right/Left
- Strafe Right/Left
- Jump
- Pick Up Item
- And of course a Dance
Linking Animations And Movement
With everything we need we can move to Unity
I started with some simple turning and running forward.
Oh and jumping, but that was not quite working as intended.
A few of the problems I encountered where getting the animations to transition smoothly while also reducing the input lag. As well as matching the movements, like getting the character to jump in time with the animation.
Spending more time in the editor I found that the exit time and more specifically the transition time played a large roll. This was the exact slider I was looking for between smooth and responsive.
I also did some more reading in the unity manual to find that the AnimatorStateInfo.normalizedTime would return the fraction of which the animation was complete from 0-1. This was incredibly useful.
After these improvements I added a few more animations.

Lastly, I placed a wall to jump over and some coins for the player to pick up
Results
I am quite happy with the way this turned out! I went from only dreaming of having awesome character animations to controlling a model of my own around an environment. This gave me a small taste of what I could do with animated characters and I would definitely consider adding them to my next game.



