đBlend Shapes
Animate blend shapes on skinned meshes
Last updated
Animate blend shapes on skinned meshes
Last updated
Blend shapes are typically used for facial expressions on character models. Anytime an object is added to Timeflow that has a SkinnedMeshRenderer component, any blend shapes on the mesh are automatically listed as properties under the component in the Timeflow context menu. These may be animated the same as any other property.
To animate blend shapes in Timeflow, right-click the object in the Timeflow view and select the blend shape from the list under the SkinnedMeshRenderer component as shown above. This is also available to other behaviors such as Tween.
Note that blend shapes interpolate from 0 to 100. Higher values may be set however will cause mesh distortion. A limit may be added to the channel if desired.
Blend shapes may be animated in Timeflow in any number of ways, however one useful method is to use the Blend component. Each of the blend shapes may then be added in the Properties tab and sets created to define each expression, giving it a name and combining the blend shape values as desired.
This way the same blend shapes can be used to create any number of facial expressions. Each set can define the value for each shape, or leave it unchecked to leave certain properties as they are.
Once sets have been created, you can then interpolate between them and add keyframes to control the character's expressions in a single animation track.
Alternatively you may of course use regular keyframe channels to animate each of the shapes independently.
Please refer to the example scene shown above:
Assets/AxonGenesis/Timeflow/Samples/Demo/Scenes/Animation/BlendShapes