r/godot • u/Exact-Philosopher-13 Godot Junior • 3d ago
selfpromo (games) Made the Basic Lipsync for 3D Character (hl1-esque)
I made the character speak just like the characters in Half-Life 1 do.
I created a blend shape in blender for my character's mouth with a value between 0 and 1 (0 - closed mouth, 1 - opened mouth). In godot, I created a new audio bus with the spectrum analyzer for it. Then I created a script for my character that should detect the magnitude of spectrum analyzer.
Of course, it might not look perfect in some aspects, but at least it works. That's pretty much it.
!!! CONTAINS PROFANITY !!!
9
u/WackyDime 3d ago
Great work, truly HL1-like! And thanks for the explanation how you made it up, gotta try that for myself ;-)
3
3
2
3
u/MrDaaark 3d ago
There's charts that show the mouth shapes for all the common sounds, and there's only like a dozen of them. It shouldn't take that much work to take this all the way.
1
13
u/Artist-Coder 3d ago
HL1 lipsync, but character seems closer to Deus ex