Platformer: Player Animation Part 1

Intro

In this series of player animation article, I will cover how to add premade animations to from Mixamo to character models that have been rigged for Mixamo animations. This article will cover downloading the animations, setting it up and adding an idle animation to the player.

Download Animation

Mixamo allows you to create a free account and allows you to search and download a ton of animations. I just searched idle and choose the animation I wanted. Now, when downloading make sure the FBX is for Unity and it is with the Skin, when it is just the animation rig.

Setup

Drag and drop the downloaded animation file into the folder you desire. Select the animation import and change the Animation Type to Humanoid in the Rig section. Don’t forget to click on APPLY.

Looking at the animation, you will notice we are unable to modify any of the animation settings.

We will need to duplicate the animation in order to gain access to the animation settings.

The 3D model already had an animator component, so we didn’t need to add one, but we will need to create an animator controller. The animator controller stores all of the animation clips and allows us to control when the animation clips should play through script.

To add the idle animation, we can just drag the animation into the animator controller window and it will be defaulted to the entry animation. The entry animation is the animation that is first played when the game starts.

In the Idle animation, we will want to set loop to true, so the animation will continuously loop.

Conclusion

Adding animations makes the game come to life and this is just the beginning of making the player come to life.

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Marinade AMA — Minute of our Open Kitchen

g0v.news 公告/Announcement

Boost Android performance using Hermes

The 10x Programmer and the End of the Myth of Research

Copying local files to AWS S3 Bucket (AWS CLI + S3 bucket)

Improvement in HTTP/2 over HTTP/1.1

Supercharge your ExUnit skills in 10 minutes 💪

How We Used Our Buy APIs, Catch Platform to Build a New Portal for the NHS

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ryan McCoach

Ryan McCoach

More from Medium

2D Mobile Game: Player Jump!

Unity highlight text instead of button

Reflection Probes in Unity

The Fourth Player Challenge: Problem Solving and Jumping