Create Animation components and animation clips

Creating Animation Components

On each Node, we can add different components. If we want to create an animation on this node, we must also create a new Animation component for it.

There are two ways to create a new Animation component:

  • Select the corresponding node, click Add Component below in the Inspector panel, and select Animation Component in Components.
  • Open the Animation panel, then select the node in which to add then animation in the Hierarchy panel, and click the Add Animation component button in the Animation panel.


Specifics about Animation component parameters can be found in the Animation Component Reference documentation.

Creating and attaching animation clips

Even though there is an Animation component on the Node, there is no corresponding animation clip data. There are two ways to create animation clips:

  • Click the + on the upper left in the Assets panel, or right-click the blank area and select Animation Clip. Now, a clip file named NewAnimationClip will be created in the Assets panel.

It is not enough to just create it. It is necessary to click on the node, in the Hierachy Manager and find Animation in the Inspector panel. At this time, Clips shows 0, and it needs to be changed to 1. Next, drag the NewAnimationClip that was just created in the Assets panel, and drag it into the animation-clip selection box that just appeared.

  • If an Animation Clip file has not been added to an Animation component, directly click the NewAnimationClip button in the Animation panel to create a new animation clip file. The newly created Animation Clip will be automatically attached to the Animation Component.

Note: if you choose to overwrite the existing clip file, the content of the overwritten file will be cleared.


results matching ""

    No results matching ""