Animation (Cocos Creator)
Updated: 03/14/2023
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.
![](https://docs.live2d.com/cms/wp-content/uploads/2023/02/120101.gif.pagespeed.ce.3mgu11-QMk.gif)
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.
![](https://docs.live2d.com/cms/wp-content/uploads/2023/02/120102.png.pagespeed.ce.ojK3EfAnT6.png)
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