From 0f756297d325cd8b0c3a69f4d2beb4df06537440 Mon Sep 17 00:00:00 2001 From: Neko Date: Tue, 11 Feb 2025 09:32:07 +0800 Subject: [PATCH] chore: TODO comment --- packages/stage-ui/src/composables/live2d/animation.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/stage-ui/src/composables/live2d/animation.ts b/packages/stage-ui/src/composables/live2d/animation.ts index 8d80a21b..1483139f 100644 --- a/packages/stage-ui/src/composables/live2d/animation.ts +++ b/packages/stage-ui/src/composables/live2d/animation.ts @@ -25,6 +25,7 @@ export function useLive2DIdleEyeFocus() { model.focusController.update(now - lastSaccadeAt) const coreModel = model.coreModel as any + // TODO: After emotion mapper, stage editor, eye related parameters should be take cared to be dynamical instead of hardcoding coreModel.setParameterValueById('ParamEyeBallX', lerp(coreModel.getParameterValueById('ParamEyeBallX'), focusTarget![0], 0.3)) coreModel.setParameterValueById('ParamEyeBallY', lerp(coreModel.getParameterValueById('ParamEyeBallY'), focusTarget![1], 0.3)) }