Animate Collectable in Unity.

Give more live to the collectables on your game!!

Objective: create a spin animation for the collectable prefab.

First step is to add an animator component to the collectable in the scene.

We have to create a new animator controller and a new animation, the animator controller has to be assigned in the inspector and the animation has to be added to the animator controller.

Then we have to select the object and go to the animation window, press the record button and and change the rotation of the object in the timeline. To finish the animation you have to select the record button again.

And that’s it we have a simple rotation animation for our collectables.



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
Rusben Guzman

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.