Open Zumbalamambo opened 2 years ago
and does it not animate also the legs?
The code expects a game object called MTH_DEF
in the scene tree. (LIkewise, it also expects EYE_DEF
and EL_DEF
in the next few lines of code.)
The VTuber
scene in this project should demonstrate how it looks like.
Do you replace the model with your own? If so it may not work, and you will need to look at what name in your model that represent the mouth / eye / eye lip and replace the name in the code.
The UpperBodyAnimator
doesn't animate legs. It focuses on the facial expression, hands and arms. If you need the leg movement, you can check ModelAnimator
.
You can subclass the UpperBodyAnimator and customize your model specialpart initialization in function GetSpecialPart()
thank you for the great example.
It throws the following exception while trying to run the code,
how do I fix this?