Simplify Node Groups with Hub Nodes

The Hub node acts as a connection point between groups of nodes in an animation graph. This pass-through node outputs or forwards the pose of the node that entered it. Hub nodes reduce the complexity of transitions by acting as the central point in a state machine. By connecting multiple nodes to hubs, you can combine transition lines that share the same transition conditions and strategically organize nodes to create an easy-to-read state machine.

Example The following animation graph has many groups and transitions.

Animation graph without hub nodes. The same graph with Hub nodes simplifies transitions between the groups, which makes the graph cleaner and easier to read.

Animation graph without hub nodes.

To use Hub nodes in your animation graph

  1. Add a Hub node in an animation graph by doing one of the following:

    • In the Anim Graph Palette, choose the Sources tab and drag Hub to the graph.
    • In the graph, right-click and choose Create Node, Sources, Hub.

    Animation graph without hub nodes.

  2. Repeat to add as many Hub nodes as you need.

  3. Add multiple like nodes, such as motion nodes or state machines, between the Hub nodes and create transitions. Example

    Transitions between motions are simplified by placing them between two Hub nodes.

    Animation graph without hub nodes.

    In the example, the transition between attack01 and Hub0 is a shared transition. If you remove the Hub0 node, you would then individually add those two conditions from attack01 to each of the four transitions going into the attack01* nodes.

  4. For all transitions entering a Hub node, set its Transition Time to 0.0 seconds. This ensures that an extra delay is not added to the transition.

Animation graph without hub nodes.


Copyright © 2022 Open 3D Engine Contributors

Documentation Distributed under CC BY 4.0.
For our trademark, privacy and antitrust policies, code of conduct, and terms of use, please click the applicable link below or see https://www.lfprojects.org.


The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.