Particles stop too soon when stoppable and Particle Stopper Smile Finished is added
I am attempting to create a lens that when a user smiles, sparkle particles are added to their teeth. I have it mostly working using the "Particle Contol Helper" script. I want the particles to also go away when the user stops smiling so I added the additional code that is supposed to do that. It sort of works, but the particles now stop about 2 sec after being triggered even if the user is still smiling. I want the particles to stay visible as long as the user is still smiling. Does anyone know what might be the problem and how i can fix it.
Thanks.
Hi Sam!
Sounds awesome!
You should be able to use the Stoppable option in the ParticleControlHelper script:
Notice that for the stop event we use Mouth Closed and not Smile Finished, since your teeth may still be showing although you're no longer smiling.
This is what I get:
Let me know if this is not what you get / or this is not what you meant.
Don't forget to share with us what you come up with!
Cheers,
Jon
Thanks for the help Jon. It looks like that did it for the most part. It does not work 100% of the time but its basically doing what I need and should be good enough for what we are doing. Thank you.
Sam