Animation Blend Modes

Choose your OS:

Animation Blend Modes enable you to control the way meshes blend between Poses when transitioning from one State to another within a State Machine . There are several different Blend Modes that you can choose from which can be set from the Blend Settings section of a Transition Rule in a State Machine (pictured below).

BlendSettings.png

An example of a Custom curve used to Blend between different poses is depicted below.

Blend Mode Types

You can select from many different blending functions: Linear, Cubic, Hermite Cubic, Sinusoidal, Quadratic, Circular, Exponential and Custom. For most types, you can separately control whether you want easing on either the in or the out of the curve.

Here are some examples of blending with longer blend times to show the differences:

Blend Mode

Example

Linear

Exp Out

Exp in Out

Quadratic in Out

Custom

The Custom option requires a Curve Float asset. After creating one, you can assign it in the Details panel for the relevant nodes:

image_44.png

image_45.png

The Custom blend type gives you complete control by enabling you to use a Curve Float asset to specify how the blend occurs. The length of the curve will be normalized and scaled to meet the specified Blend Time. On the curve, any values that are outside of the range 0-1 are clamped back to fit. If the Blend Mode is set to Custom and a Curve Float asset is not assigned, the system will fall back to a Linear Blend as depicted below.