Pupil & PupilAll
Using the Pupil motion adapter, you can connect the position values of both pupils (left/rightPupilX,Y) among the face tracking factors with the Controller.
For instructions on how to create a Left/RightPupil or PupilAll Motion Adapter, please refer to 👉 9. Apply Motion Tracking
Inspector window


How to use Pupil Motion Adapter
1. In the Project window, go to Assets > MYTYKit > MotionAdapter > Eye > Bone, click and drag the Left/RightPupil or PupilAll prefab into the MotionAdapterGroup object in the Hierarchy window. You can change the name of the Motion Adapter object If you want to.
2. Click on the ◉icon next to a Template input box and select the SimpleFaceParam template to be applied.
If nothing appears when you click the ◉ icon, it may be due to the following: The DefaultMotionTemplate or the MediapipeMotionPack prefab is not in the Hierarchy window → Check 9. Apply Motion Tracking and 9. Apply Motion Tracking
3. To set which Controller to connect the Left/RightPupilX or Left/RightPupilY motion data, click the ◉ icon next to TargetController. ◉ icon will bring up a Controller list from which you can select an option.
If nothing appears when you click the ◉ icon, it may be due to the following:
The appropriate Script(s) are not applied to the Controller → Check 8. MYTY Kit Controllers
4. When all the elements are set, press the ▶️(Play) button to check the avatar preview.
Advanced Options
You can control the stabilizing method in the Advanced Options. To get more advanced information about this, refer to 👉 Stabilizing method.

Is Damping: The latest input becomes more dominant than the older input.Is Stabilizing: It enables to detection of the moment of arrival of new data, and it makes the stabilization process much more rigorous.Is Use Damped Input To Stabilizer: Whether to use damped input as input for stabilizerDamping Factor: If Damping Factor=1, then the algorithm is just average. If Damping Factor becomes larger, it means that the latest input becomes more dominant than the older input.Damping Window: The amount of input data frames to configure the damping algorithm.Stabilize Method: Which method to apply to stabilize algorithm.
Last updated