Controlling flipbook animated material?

So I have this material set up that plays an animated texture using flipbook node. What I want to do is start the animation on an action (for example a key press), instead of it just playing in loop. I want the animation to sync with my secondary animation (the swinging sword). Any way on how to do this?

To get control of flipbook animation, you can multiply time input into flipbook material function. Multiplying time by zero would stop the animation. To sync flipbook animation with sword swing, you would need to calculate the number, by which you should multiply time node in material editor.

1 Like