Hi Chris!
I'm trying to set up lip-sync (or some basic mouth-moving) last three days but the lips aren't moving:-( I'm really frustrated now and I hope that you'll tell me what I'm doing wrong.
I set up phonemes correctly:
http://www.subsequentedgame.com/img_blogs/1_set_phonemes.jpgI set up blendshapes (when I'm moving by cursor with talk_D parametr, the mouth is opening):
http://www.subsequentedgame.com/img_blogs/2_set_blendshapes.jpgI added shapeable script and set it up:
http://www.subsequentedgame.com/img_blogs/3_shapeable.jpgI have phoneme group there:
http://www.subsequentedgame.com/img_blogs/4_group.jpgBut when the Player is talking (Dialogue: Play Speech), the lips aren't moving.
Please, do you have any idea what I'm doing wrong?
Thanks for the answer,
Jakub
Comments
You'll need to have as many shapekeys in the Phonemes group as you do phonemes in the Speech Manager - create three more even if they're just copies of the "Talk_D" shapekey.
Check the Skinned Mesh Renderer Inpsector at runtime - are the values also not changing, or is the issue purely visual?
Try temporarily removing the Animator component, so that we can tell if that is creating a conflict with the lipsyncing system.
If you're using a translation, also try setting it back to the original language by clearing options data at the bottom of the Speech Manager.
Generally though what you've posted looks OK. The Physics Demo uses the same technique (with Sapi files, but it still works when set to "From Speech Text"). Download it and check that it works for you - bringing in the "BrainOffice" prefab into your own game to see if he still works. If so, it's likely an issue with your character and we can investigate further.
I don't know what was wrong with the old model, I tried to modify shapekeys or to add three more, remove Animator, check translations, nothing worked.
But it's solved now.
Thanks and bye!
Jakub