Skip to main content

Detect Face Movement to Play 3D Animation

Plays the 3D animation clip when the selected face movement is detected, then plays the idle clip.

Input

NameData TypeDescription
TargetScene ObjectThe object to which the 3D animations to be played are attached.
DetectStringThe face whose movement will be detected. Face 0 represents the first face that appears in the scene, Face 1 represents the second face, and so on. Any represents any face in the scene.
Face MovementStringThe movement on the user’s face.
Which ClipNumberThe animation clip to be played.
Idle ClipNumberThe resting animation clip to be played.