LensStudio MouthOpenedEvent
I am trying to use lens studio and listen for the MouthOpened event. Here is what I have:
script.createEvent("MouthOpenedEvent");
event.faceIndex = 0;
event.bind(function (eventData)
{
print("Mouth was opened on face 0");
});
On Mouth Opened I want to know the position of the mouth so that I can do other checks e.g. see if another object is in that position. So I would like to get the approx position of the mouth (say a rectangle around it). Is there a way to get this e.g. from eventData?
If not is there a different way to achieve what I am doing.
Thanks,
Sudhir
Hi Sudhir, to track the position of the mouth, I'd use an object bound to the head and track its position. To do this:
Thanks a lot Travis. That helps.