Reader small image

You're reading from  Unity 5.x Animation Cookbook

Product typeBook
Published inMay 2016
Reading LevelExpert
PublisherPackt
ISBN-139781785883910
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Maciej Szczesnik
Maciej Szczesnik
author image
Maciej Szczesnik

Not interested. Too busy with current game project. Source: Linkedin.
Read more about Maciej Szczesnik

Right arrow

Animating facial expressions with Blend Shapes


If you want to animate a character talking or changing its facial expression, it is best to use Blend Shapes. This recipe covers creating facial expressions with Blend Shapes exported from a 3D package.

Getting ready

We need several Blend Shapes that store our facial expressions. In this recipe, we will use SmileAngryBlinkLeftBlinkRight, and BrowsDown shapes. Create them in your 3D package. If you are using Blender, Blend Shapes are called Shape Keys. In other softwares, they may be called Morph Targets.

You can also use the provided example Unity project and go to the Chapter 05 Character actions and expressions\Recipe 08 Animating facial expressions with blend shapes directory. You will find an Example.scene there. Open it, play the game, and adjust the sliders on the UI to see the effect. You can find the character with all the Blend Shapes in the Rigs directory.

How to do it...

To use Blend Shapes for facial expressions, follow these steps...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Unity 5.x Animation Cookbook
Published in: May 2016Publisher: PacktISBN-13: 9781785883910

Author (1)

author image
Maciej Szczesnik

Not interested. Too busy with current game project. Source: Linkedin.
Read more about Maciej Szczesnik