Moved gaze tracking in OpenSeeVRMDriver to LateUpdate.
This commit is contained in:
parent
a3ff1bbedc
commit
1e410015e6
1 changed files with 5 additions and 2 deletions
|
|
@ -1423,8 +1423,6 @@ public class OpenSeeVRMDriver : MonoBehaviour {
|
|||
}
|
||||
FindFaceMesh();
|
||||
UpdateExpression();
|
||||
if (gazeTracking && !only30Points)
|
||||
UpdateGaze();
|
||||
BlinkEyes();
|
||||
ReadAudio();
|
||||
bool doMouthTracking = true;
|
||||
|
|
@ -1439,6 +1437,11 @@ public class OpenSeeVRMDriver : MonoBehaviour {
|
|||
if (vrmBlendShapeProxy != null && browClips != null)
|
||||
vrmBlendShapeProxy.Apply();
|
||||
}
|
||||
|
||||
void LateUpdate() {
|
||||
if (gazeTracking && !only30Points)
|
||||
UpdateGaze();
|
||||
}
|
||||
|
||||
void FixedUpdate() {
|
||||
if (openSeeIKTarget.fixedUpdate) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue