Listener Issue
Hi there!
im a new beginner in both RIVE and Animation, its a great app with powerful interactive designer!
Here im meeting a little problem.
How should i use the phone camera as a listener so that i can do the animation to react with different user's face expression? such as confuse/sad/anger etc.
is it possible to set that in RIVE?
thx if anybody can answer my quiz!
There isn't a listener type for what you're looking to do. Currently, Listeners can only listen for cursor actions like clicks and hovers, or events. If you want a camera to change an input you'll need to use the runtimes and code to achieve that.
Do you mean that you want to use some mobile face tracking API to determine the user's expression, then if they're smiling, you trigger a smile animation in Rive? If so, yes you can pass inputs to Rive at runtime: https://rive.app/community/doc/state-machines/docxeznG7iiK#controlling-state-machine-inputs
Or are you looking for something more like this where you can apply animations to the user's face: https://docs.unity3d.com/Packages/com.unity.mars@1.0/manual/FaceTracking.html If so, here's how you can use Rive in Unity: https://rive.app/community/doc/unity/doc31LHoppdv
Thank you Lance! It has inspired my thinking and very helpful! Now I'm going to try creating a simple demo to implement this function XD
Thank you Robert ! i will try to use runtime