I built a Control Rig that generates animation controls for a mech’s backpack flight unit, then uses their rotations to drive its articulated parts within supplied limits. The Gundam-style backpack gave me a mechanical example to animate: its rigid-looking panels move through a skeletal hierarchy, rather than a rigid-body physics simulation.
Generate controls from the target bones
The aim was to reuse the construction logic across different skeletons. It still needs the target bone names and a compatible setup. This example demonstrates one hierarchy, with left and right wing chains.
The Construction Event prepares and spawns controls at the supplied bones during initialization. Forwards Solve then uses those controls to drive the bones. Control generation belongs to construction, not a spawning step repeated every animation frame.
Control Stack at Item, from Epic’s StandardFunctionLibrary, returns the generated control’s item key, which identifies it in the rig. Set Item Metadata stores that key under Control on the source bone. Add Tag marks the same bone WingBlade.
During development, I encountered metadata lag and used tag lookup to find the relevant bones. That was a workaround in this project. Tags are metadata too; the Control field still stores the generated-control reference.
Clamp rotation during Forwards Solve
Get Transform reads the control’s current transform in local space. The solve graph uses only its rotation. To Euler converts the quaternion rotation into three angles using ZYX order. Each angle is clamped between supplied minimum and maximum values; From Euler converts the result back using the same order.
Offset Transform composes the resulting rotational offset with the bone’s existing hierarchy transform by post-multiplication. Here, its weight is 1 and child propagation is enabled. The local-space setting belongs to the control read; correct motion still depends on compatible axes, hierarchy and initial transforms. The screenshot does not show the lookup implementation or numerical limits.
Animate the generated controls
The generated controls can be keyframed in Sequencer. The preview below shows wing animation created with this rig.
Sharing those keys across targets still requires compatible control identities, meanings, spaces, initial setup and limits. The recordings demonstrate this backpack example; they do not establish automatic bone mapping or animation retargeting across arbitrary skeletons.


