View on GitHub

ezEngine Documentation

The documentation for ezEngine

Combine Poses Nodes

An animation controller typically samples more than one animation. For example you may want to play a walking animation on the lower part of a character, and an aim weapon animation on the upper part. These animations are generally independent of each other, but have to be combined at some point, to form the final single animation pose.

Certain nodes in the animation controller graph allow you to accomplish this.

Combine Poses Node

Currently the Combine Poses node is the only available node to combine multiple poses in local space into one.

Properties

Example: Let’s say this value is set to 2. You have three input poses connected. One for walking, one for aiming a gun and one as a general breathing / idle animation. If all three poses are active at the same time, one of them will be ignored. For example, if walking and aiming both have a weight of 1, but breathing has a weight of 0.5, the breathing animation will not be mixed into the final result.

This is used to clamp the maximum performance cost of the animation blending.

Input Pins

In practice that means that two animations that don’t use custom bone weights will be blended 50:50.

Output Pins

Performance Considerations

You can use multiple nodes to combine many poses in several steps. However, for best performance prefer to use only a single node to combine many poses and make use of bone weights to control each ones overall influence.

See Also