CREATING WEBAR

3D Animations

MyWebAR supports animations embedded into GLB 3D models. There are multiple ways that you can trigger the animation to play.
Play Animation Once the Scene Is Loaded
If you want the animation to play automatically, select the 3D object on your scene.
Go to the Actions tab of the Properties panel.
Select the Play Model Animation On Start and click on the Plus button.
Click on the Action you just added to expand its properties. If your GLB file contains multiple animations you can specify the index of the animation that you want to add.
Publish your project to apply your changes.
Play Animation by Tapping on the Object
If you want to play the animation when user taps on the 3D object, select it on the AR content panel on the left side of the editor.
Go to the Actions tab of the Properties panel on the right.
Select the Play/Pause Model Animation on Click, click on the Plus button.
Publish your project to apply your changes.
Play Animation by Tapping on a Button
If you want to play an animation when user taps on a virtual button, you will need to add your future button on the scene first.

You can use any type of object as a button, but in this guide we will be using a PNG image.
Select your 3D object on the AR content panel on the left side of the editor, then go to the Actions tab of the Properties panel on the right.
Go to the Actions tab of the Properties panel on the right.
Select the Play/Pause Model Animation on Click, click on the Plus button.
Click on the Play/Pause Model Animation on Click item you've just added to expand its properties and select the object that will work as a button from the dropdown list.
Publish your project to apply your changes.
Related Topics:
Made on
Tilda