Use the animation playback controller to easily set when a 3D object with animations plays, stops and pauses in your effect.
You can use other animation patches to create more complex effects.
To create an animation controller:
The animation playback controller will be listed in the Assets panel:
You'll need to assign the animation that you want to control with the playback controller to the playback controller. To do this:
The playback controller will be set to Play on Start and Loop by default, so the animation will start as soon as the effect opens, and loop continuously.
Use the options in the Inspector panel to configure the playback controller.
Clicking the circles next to Stop, Play and Pause will create patches, which you can use to add logic and interactivity:
In the example below we've turned off the option to Play On Start. Instead, we've created patches for Play and Pause. We've combined these with the Screen Tap, Switch and Pulse patches.
As a result, when the screen is tapped the animation will switch between playing and pausing.
Choose an animation to control with the playback controller.
This will always say animation, because it's a playback controller that controls animations.
The duration of the animation.
Create a patch to control when the animation starts to play.
Create a patch to control when the animation pauses.
Create a patch to control when the animation stops.
Check this box to play the animation when the effect is opened.
Check this box to continuously loop the animation.
Use this slider to adjust the speed of the animation.
The 3D object that contains the animation.