Player Animations

Simon Leen
3 min readAug 27, 2021

--

Objective: Set up animations of the Players model.

Our newly added Player model doesn’t have any animations he just stays in T-Pose when standing, moving or jumping. We’ll fix that by setting up animations for him. We’ll start with the idle animation.

We open mixamo, sign in and select the idle animation to use.

Once selected, hit download, choose FBX for Unity, with or without skin (I went with skin) and download. Drag the FBX file into the project folder where the model is.

Once imported select the file and in the Inspector, select Rig and notice the animation type of generic. We need to change this to humanoid and apply. This allows us to use the animation clip.

Initially when you select the idle animation, you can see above that the settings are greyed out meaning they can’t be accessed or modified. To fix this we can duplicate the idle animation which makes a copy outside the imported animation but this new copy is editable as seen below.

We now have an animation clip we can use. For a cleaner project, create an animation folder and store these here. Next create an Animation Controller for the Player. Our Player model already has an empty Animator attached but if it didn’t we could just attach an Animator component. Drag the newly created controller into the Animator on the Player. Double clicking the controller will bring up the Animator window in default state.

Drag the idle animation into the Animator. This becomes the default animation and creates the entry transition automatically.

To make sure the animation doesn’t play once and stop, select the idle animation and turn on loop time. We now have our idle animation working.

--

--

No responses yet