control-rig-and-ik

Implement procedural animation, IK solvers, and runtime retargeting in Unreal Engine.

1|Updated Sep 6, 2026
Ready to run
npx skills add https://github.com/ziyarduc/Baran-bk-game --skill control-rig-and-ik-ziyarduc
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: control-rig-and-ik
Source: https://github.com/ziyarduc/Baran-bk-game/tree/main/.agents/skills/control-rig-and-ik
Command: npx skills add https://github.com/ziyarduc/Baran-bk-game --skill control-rig-and-ik-ziyarduc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Baked animation clips break down when feet must land on uneven terrain, hands must grip moving weapons, or animations must transfer between skeletons with different proportions. This Skill provides the operational knowledge to solve these problems using Unreal Engine's procedural animation suite: Control Rig, IK Rig, and the IK Retargeter. ## Core Features & Use Cases - Control Rig Integration: Place FAnimNode_ControlRig in an AnimGraph, drive rigs at runtime via UControlRigComponent, author custom FRigUnit C++ nodes, and build modular rigs with UModularRig. - IK Rig Solvers: Configure Full Body IK, Limb IK, and Set Transform solvers, feed goals from game code through UIKRigComponent, and implement a complete foot-placement pattern with pelvis adjustment. - IK Retargeting: Set up retarget chains, edit retarget poses for T-pose vs A-pose alignment, use the Retarget Operation Stack, and retarget at runtime with FAnimNode_RetargetPoseFromMesh or bake animations offline. - Use Case: A character's feet clip through stairs and slopes. Use this Skill to add a UIKRigComponent, line-trace from each foot bone, feed hit results as IK goals, and place an IK Rig node after the locomotion state machine so legs solve onto the terrain every frame. ## Quick Start Ask the AI to implement foot IK on uneven terrain for an Unreal Engine character using an IK Rig with Limb IK solvers and a UIKRigComponent driven by line traces.

Frequently Asked Questions about control-rig-and-ik

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement foot IK on uneven terrain in Unreal Engine?▼

Line-trace downward from each foot bone in the AnimInstance, attach a UIKRigComponent with Limb IK or Full Body IK solvers, and call SetIKRigGoalPositionAndRotation each tick with the trace hits. Place an FAnimNode_IKRig node after the locomotion state machine so it solves on the final base pose.

What is the difference between Control Rig and IK Rig in Unreal Engine?▼

Control Rig is a RigVM-based graph for custom procedural animation, keyframing, and solver logic over a bone hierarchy. IK Rig is a lighter asset that defines goals and solver stacks like Full Body IK or Limb IK, and also serves as the source and target definition for the IK Retargeter.

How do I retarget animations between skeletons with different proportions?▼

Create an IK Rig for each skeleton with matching retarget chains and a designated pelvis, then link them in an IK Retargeter asset and align the retarget pose. Either export baked animation sequences offline or retarget live at runtime with FAnimNode_RetargetPoseFromMesh.

When should I use Two Bone IK instead of a full IK Rig?▼

Use Two Bone IK for a single arm or leg reaching a target when no retarget pipeline is needed, since it is a cheap analytic solve with no external asset. Reserve Full Body IK for hero characters because it is iterative and CPU-heavy on crowds.

Why does my IK goal snap the limb to the character origin?▼

A goal at FVector::ZeroVector in world space pulls the limb to the origin, which happens when a line trace misses and its default result is passed through. Always validate trace hits before feeding them as goals, and confirm the EIKRigGoalSpace matches how the target was computed.

Why does my retargeted animation look broken or fall back to FK only?▼

Unmatched retarget chain names silently fall back to FK-only retargeting, so verify chain matching in the IK Retargeter Hierarchy panel. T-pose versus A-pose discrepancies are the most common cause of broken results and are fixed by editing the retarget pose for each skeleton.