guansss / pixi-live2d-display

A PixiJS plugin to display Live2D models of any kind.
https://guansss.github.io/pixi-live2d-display/
MIT License
870 stars 132 forks source link

Animate eyes blinking and mouth opening in cubism v4? #40

Closed thisismygatekeeper closed 2 years ago

thisismygatekeeper commented 2 years ago

I was following https://github.com/guansss/pixi-live2d-display/issues/4 and got cubism v2 to work properly. However,

model.internal.eyeBlink.setEyeParams(eyeValue)

and

model.internalModel.coreModel.setParamFloat('PARAM_MOUTH_OPEN_Y', mouthSize);

didn't work - setEyeParams isn't available in eyeBlink and setParamFloat doesn't seem to be available in coreModel. Could you kindly suggest some way out? Thank you!

thisismygatekeeper commented 2 years ago

ok found the corresponding functions in v4.

Panzer-Jack commented 1 year ago

I also have this problem. How did you receive it ?