Bug: with FaceLostEvent and Head Binding?
If you attempt to add a FaceLostEvent to a headbinding child or the headbinding object itself, the FaceLostEvent never triggers. Does anyone know whats going on here?
Steps to Reproduce
- I have a Eye Glow sprite nested under a head binding object
- Create a script setup on initialize with the following
var faceLostEvent = script.createEvent("FaceLostEvent");
faceLostEvent.bind(function (eventData)
{
print("************Face tracking lost on face 0");
});
- Note that this does not generate the debug message in console when your face leaves the screen.
Thanks!
-Phill
It seems the head binding disables its children when it loses tracking, thus the script no longer works. Tested with other script events and same thing. However checking the .enabled value of head binding child/child components still says enabled even though it seems to be disabled. Easiest fix: Move the script out of the head binding