Skip to main content

Animation Database Node

The Animation Database node plays an Animation Database asset as a pose. You find it in the Pose Generation category.

Every update, the node reads the database's columns from the graph's blackboard and picks the best matching rule in each channel. The base channel's rule is the pose. When it changes, the node crossfades over the time that a blend override or the changed columns give. Layer channels play their rule on top and fade out when no rule matches. When gameplay sets an action channel's entry, the node sets the entry back to none, plays the action's rule once, and fades it out at its end.

Setup​

  1. Add the database's columns to the graph's blackboard, or to the character's blackboard template, at their defaults.
  2. Add an Animation Database node to the graph and set Database.
  3. Connect Pose to the output, or to a node that blends it further.
  4. Drive the character from gameplay code by setting the blackboard values that the columns name.

Properties​

PropertyDefaultDescription
DatabaseThe Animation Database asset to play.
PlaybackSpeed1Multiplies the speed of every rule, unless In Speed is connected.

Pins​

PinDescription
In SpeedThe playback speed. While it is connected, it is used instead of PlaybackSpeed.
Out PoseThe pose of all channels together.
Out Base RowThe index of the base channel's rule that plays, counted from 0. Useful for debugging.
Out On Action StartedFires when an action channel starts a rule.
Out On Action FinishedFires when an action channel's rule ends.

See also​