How would you change from facial expression to facial expression every few Seconds?
nokoteb99
Posts: 931
I know that i'll have to export facial morphs of facial expressions when sending my chracters with DAZ to Unity bridgee, but then in Scripting in Unity how would i control the Blendshapes to change and animate or not animate but just animate the little transition from one to the other? and then stay on one facial expression for random number of seconds
Post edited by nokoteb99 on
Comments
It is easy, if you know, how to write scripts in C# in Unity by yourself.
I am not at that level yet, so I cannot help, right know.
Maybe try this free Bolt visual language in Unity, if you do not know, how to write scripts.
Post your results, here, please.
Thanks i kind of found the solution, from the Unity manual wanna see it?
So ok this example gives me everythign i need to know now to move and animate and change blendshapes. you can use it too. basically. Here they using blendSpeed to contrrol how fast the aninimation of the blenshape will move so lke going from 0% to 100% of a smile from 0 smile to full smile.
Etcetera im glad they gave this good example
Thanks for posting it. There are so many sides with the documentation available, so if you find somthing else useful, please post it as well.
I extended my script now with that example. Now my script has like 8 blendshapes(the basic DAZ expressions HD). And switches between them every few seconds. While also talking with a lipsync product i applied. The lipsync product doesn't do anything to change the expressions, i did that all by my self. i was getting it wrong but yestreday i fixed it all. Now it's awesome