Making a Hack’n’slash #4: Importing a 3D model & animating our hero 2/2

Let’s continue working on our Mixamo character and add some animations to our hero!

Mina Pêcheux
CodeX
Published in
13 min readApr 21, 2022

--

⬅️ Tutorial #3: Importing a 3D model & animating our hero 1/2| TOC | Interlude #1: Automating your Unity imports ➡️

🚀 Find the code of this tutorial series on my Github!

Last time, we started to rework our hero object to have nicer visuals: we downloaded and imported a bunch of FBX 3D models from Adobe Mixamo’s library and we made sure to set up all the right import settings in Unity to properly extract the data from it.

But remember: these FBX models also contain animations! So, today, it’s time to make use of those animations and have our hero run around :)

Here’s a little demo of our animated character, just as a quick teaser:

Setting up an Animator (with a Controller)

If you take a look at the guard object you dragged into your scene, you’ll see that it has an Animator component on it:

--

--

Mina Pêcheux
CodeX
Writer for

I’m a freelance full-stack web & game developer. I’m passionate about topics like CGI, music, data science and more! Find me at: https://minapecheux.com :)