Play Animation from Button Tap

This project template plays a 3D Animation when a button is tapped, using Actions. You can find this example project within the New Project modal in ZapWorks Studio.

Print and scan the tracking image below to preview the experience.


Editing the project

Repurposing this example project requires very few steps and can be achieved with a simple asset swap.

  1. Delete the Zappar Bunny and 3D Text nodes from the Hierarchy.
  2. Delete the Zappar Bunny and 3D Text subsymbol's from the Symbol Definitions.

Delete the nodes from the Hierarchy.
Delete nodes from Symbol Definitions.

  1. Import your 3D model with animation to ZapWorks Studio.
  2. Drag the resulting symbol into the Content Group in the Hierarchy.
  3. Add your subsymbol’s animation to the current Timeline, under the Animation Controller. A more detailed step-by-step can be found here: Setting up a timeline in the parent symbol.
  4. Train up a new tracking image within your project.
  5. Select the Tracking Image node in the Hierarchy and, within its Properties, update its Source to that of the newly trained target.

Change source of the tracking image.

  1. Preview the experience and watch your 3D model come to life when the button is tapped!
zapcode branded_zapcode i