About implementing gaze tracking for Live2D models

Posted: 19 May 2023 08:44
by mmn61

I'm using naninovel to implement mouse-based gaze tracking on a Live2D model in Unity, but it's not working properly. I've attached the LookController to the root of the model, assigned LookParameters to the appropriate parameters, attached the LookTarget script to an empty child object, and set it as the Target of the controller. I've also followed the steps shown in the official video by adding a Live2D controller to the model prefab, but the gaze tracking is not working. Why is this happening? When I run the game, a generated object with the LookTarget script, called LookTarget, is attached from the naninovel side. What is the purpose of this object? I'm using reliable naninovel components for the camera and other elements.


Posted: 19 May 2023 08:45
by mmn61

a


Re: About implementing gaze tracking for Live2D models

Posted: 21 May 2023 15:11
by idaot

LookTarget is for the look parameter in @char command (https://naninovel.com/api/#char) and you need to disable Control Look in the Live 2D controller script or otherwise the look behaviour will be controlled by Naninovel.