2D animation appears before trigger event
Hey everyone,
I have two variations of a 2d animation. The first one is one second the other is three. I am trying to get them to start when a person opens their mouth. The one second animation works just fine.
The three second animation appears on start at the end. I am using the behavior script that Lens Studio provides. The screenshot attached is what it looks like when someone opens the lens. Thanks for the help.
Hi Ryan!
You can use a script to set the frame of the animation on Lens Turn On.
To do this, create a script with the following:
Then use that script in an object and set the image field to your animated texture. Then on Lens Turn On, your animated texture will start at frame 0.
Let me know if you need any clarification!
Cheers,
Jon