Skip to content

Commit

Permalink
chore: TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww authored Feb 11, 2025
1 parent 7de2ab1 commit 0f75629
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/stage-ui/src/composables/live2d/animation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 0f75629

Please sign in to comment.