Scrub to progress timeline
Hi there,
I'm struggling to make the following interactive animation.
I've got a state machine where I want the following things to happen:
A user swipes/taps the screen to remove the lid of a product
A user drags horizontally to animate the product twisting/rotating
At the end of this, maybe there’s a final screen with some animation
Here’s a mockup:
I’ve got the first part working (albeit with a tap not a swipe) but am struggling with the rotation. I think this is something I need to use a joystick for, or a pointer move listener, or maybe a 1D Blend with two timelines? But have tried various approaches and can’t work it out.
Here’s a short screen recording of my project showing where I’m at so far. Any help would be hugely appreciated!
Thanks!