Animation (Cocos Creator)

Updated: 03/14/2023

This page is for Cubism version 4.2 or earlier. Click here for the latest version.

Summary

This is a sample scene in which an animation file (.motion3.json) for embedding exported from the Cubism Editor is played back using Animation, a standard Cocos Creator function.

What Functions Can Be Checked?

You can see how to make animations play using Animation, a standard Cocos Creator function.

Click here for more information about Animator.

How to Set Up a Scene

Attach the Animation to the model and set the AnimationClip attached to the model.
Then check the [Play On Load] checkbox.

To Use the Created Model in a Sample Scene

Follow this tutorial, and you will be able to create a scene equivalent to this sample scene.

Was this article helpful?
YesNo
Please let us know what you think about this article.