- Home /
Can I Change Expression Of Player While Running, Getting Hurt Or Dead, Or Jumping, Idle, Walking, Or Sneaking
I want to make my character have the ability to change expression while going through different Animation Phases, For Example, when the player is idle, he has a neutral face, but when he starts to run, sprint, attack, make shield, or jump, his facial expression changes to angry , and when he gets hit, he has either 3 shocked facial expressions that are random, and when he dies, his eyes are closed while having an angry face.
Answer by theANMATOR2b · Jun 21, 2017 at 10:53 PM
Research blend shapes and/or morph targets. Set up is similar to a animation state machine except instead of blending/transitioning from one animation to the other you will be blending/transitioning from one expression to the other.
Answer by Rusticabcd · Jun 27, 2017 at 10:56 PM
@theANMATOR2b Can you explain. Like what things do I use and/or what tutorial do I search.
Hmm - for 2D I'd look around for sprite sheet animation, and creation. I use Youtube like an addict! :)
You can either draw the expression you want the character to have on the action sprite sheets you create, or you can add a layer to the mecanim controller and have the expressions as separate sprites - that are animated independently from the base poses/actions.
I do all my 2D work in either Photoshop or Spriter Pro, but I'm mostly a 3D animator so I have very little hands on experience in the 2D workflow in Unity. But the information is all available in the learning section and the forum.