Adding your first animation to your character

You can get animations from a variety of areas. You can build your animations by hand in a 3d program with a rigged character. You can also purchase them from a store or download them from a site like mixamo. If the characters are bipeds and humanoid, you now have the option to connect them via mecanim.

To start, import in your animations that you would like.

Next, set your character’s fbx to humanoid.

This creates your character’s avatar. You can choose the definition, or the names of the bones to the joints from it’s own avatar or copy it from another avatar. Click on the avatar configure button to see the avatar’s configuration.

In here, you can see your character’s mapping. Notice that in the root that shows the green bones, those are connected to the proper mecanim bones.

In the muscles and settings field, you can also look at how the character bends appropriately and if need be, fine-tune your muscles so they do or do not bend as much.

Once your character is set to humanoid, we also need to set our animation we brought in to humanoid as well.

Inside the animation tab, you can play back the animation preview on the bottom of the screen.

To attach the animation, click on the dropdown and find the animation icon. It looks like a moving pyramid.

Drag that onto your character and it will create an animator on your character. Now when you press play, your character will animate.

--

--

Unity Developer and Software Engineer who loves making games with GameDevHQ

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
Al Heck

Unity Developer and Software Engineer who loves making games with GameDevHQ