Hey Scripting Community,
Can anyone think of a clever way to solve the following problem --> I want to have three 2D animations on sprites directly in front of the camera orthographic style, all three animations have the same starting point, and the same ending point, so when a user triggers Animation1 with "mouth open" the animation plays through once and returns to the idle position. Then when a user triggers Animation2 with "raise brows" the 2nd animation plays through once and returns back to idle position)
The issue I keep running into is, since there are three animations they have to be arranged in Z space, so if Animation1 is closest to camera, how can I show Animation2 if the user triggers it. Since the Animation1 sprite will block Animation2 and Animation3 since they are behind Animation1 in Z space. I tried using the behavior script to hack together a way to do it, and it sort of works, but it breaks when you go between some types of face event triggers.
Anyone have some creative workarounds? I have no programming language experience, and have never written a line of Java Script. Anyone have insights into solving this with a simple script or a pre-provided Lens Studio script that's included inside the templates?
Thanks for any info or ideas!