Animation options missing on FaceTriggerAnim script outside of Trigger template
Hi everyone,
I need to animate a 3D object base on a facetrigger. Basically the kind of thing that's easy to do with the "Trigger" template. Except I can't use the trigger template, I must start from another project.
When I use the "Trigger" template and add a facetriggeranim script on the head, the script comes with a bunch of options, such as which animation to play (Layer Name, etc.). But my problem is that in the project I should use, these options aren't there, and I can't manage to make them appear.
Any idea how I can make them appear?
Thanks!
Hey Pablo,
If you need to play an animation you need to have animation layer name and also loop number. This is the must thing you need to play a FBX animation.
https://lensstudio.snapchat.com/guides/scripting/playing-3d-animation/
If you don't want to use FBX animation you need to learn about how to use Tween animation here:
https://lensstudio.snapchat.com/guides/scripting/tweening/
Also we just made a new script that will help you with the interaction and its called Behavior Script that you can do any kind of interaction with it. Please read the documentation here:
https://lensstudio.snapchat.com/guides/scripting/behavior-script/
Best,
Amir.