In this lesson, you will learn how to bake the complex, procedural movements created within your Control Rig into lightweight, static animation sequences ready for your game world.
The Problem with Procedural Rigs
While Control Rigs are incredibly powerful for real-time manipulation—like procedural foot placement or dynamic spine curvature—they carry a performance cost. Running a full rigging graph every frame for every character is computationally expensive. To optimize your game, you shouldn't keep the "live" rig running if the character's movement doesn't need to be reactive or procedural once the animation is finalized. Instead, you "bake" the results.
Baking to Animation Sequences
Baking essentially takes the transform data of every joint frame-by-frame and burns it into a standard AnimSequence. Once baked, the Control Rig is no longer needed to drive the character; the engine simply plays back the keyframes, which is significantly faster for the CPU to process.
To perform this in the Unreal Editor:
- Open your Control Rig asset.
- Ensure you have your animation data populated on the timeline.
- Locate the Bake to Animation button in the Control Rig toolbar.
- You will be prompted to choose a target location and a name for your new sequence.
- Once complete, Unreal creates a new
AnimSequencecontaining baked tracks for every bone involved in the rig.
Integration Workflow
Once the animation is baked, you can swap your Control Rig reference in your Animation Blueprint for the new, baked AnimSequence. This allows you to retain the high-quality, procedural look you designed (like perfect foot placement) while gaining the performance benefits of a simple keyframed animation.
If you ever need to make adjustments, you simply return to your source Control Rig, make your changes, and repeat the bake process to update your animation sequence. This cycle keeps your workflow flexible while keeping your runtime performance efficient.
Key Takeaway: Baking translates expensive, live Control Rig calculations into static animation keys, ensuring your character’s high-fidelity procedural motion runs smoothly in your final game build.