MyWebAR Knowledge Base
Language Eng
Language Eng
  • Knowledge base for MyWebAR developers
  • GETTING STARTED
    • Signing Up
    • Dashboard Overview
    • Editor Overview
  • PLANS AND SUBSCRIPTIONS
    • Free 14-Day Trial
    • Upgrading Your Plan
    • Commercial Plans
    • Plans for Education
  • CREATING WEBAR PROJECTS
    • Project Types
    • Multi-Image Projects (Books)
    • Adding Objects
    • How to add a 3D model from the library of 3D models
    • How to add 3D models from Sketchfab
    • Object Properties
    • Buttons and Actions
    • Video Playback
    • 3D Animations
    • Project Analytics
    • How to make a good trackable image for augmented reality
    • Optimizing And Preparing 3D Models For Loading
    • How to work with plugins
    • How to make AR portal in MyWebAR
    • Video Tutorials
  • WEBAR CUSTOMIZATION
    • Custom WebAR Domain
    • Using External File Server
    • WebAR Embedding
  • PRO EDITOR
    • How the Pro Editor works
      • Interface Description
      • Basic features
    • Current restrictions
      • An Example Of Integration Of A Ready-Made Script
      • Particle Creation In The Pro Editor
      • Working With Video
      • Working With 3D Object Animations
    • Code placement requirements
      • Working With The Camera
      • UI Creation
      • Loading objects using the basic class - loader
    • The Cases
      • Adding Images
      • Lens Flare Effect
Powered by GitBook
On this page
  • Play Animation Once the Scene Is Loaded
  • Play Animation by Tapping on the Object
  • Play Animation by Tapping on a Button
  1. CREATING WEBAR PROJECTS

3D Animations

PreviousVideo PlaybackNextProject Analytics

Last updated 3 years ago

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.