Nodes/ComfyUI-BrainDead/BD Anim Retarget
ComfyUI Node

BD Anim Retarget

Retarget a HunyuanMotion animation (SMPL-H skeleton) onto a UEFN-rigged character (from BD_AutoRigUEFN). Outputs an animated FBX with the character mesh driven by the transferred motion.

By BizaNator·Created 7 months ago·Updated 16 days ago· 14
BD Anim Retarget
    • animated_fbx
    motion_fbx
    character_fbx
    fps30
    filenameanim_retarget
    name_prefix
    auto_incrementtrue
    context_id
    suffix
    context_custom_vars
    Category🧠BrainDead/AutoRig

    Inputs (9)

    NameTypeDefaultDescription
    motion_fbxSTRINGAnimated SMPL-H FBX — output of HYMotionExportFBX. Contains the skeleton animation data.
    character_fbxSTRINGUEFN-rigged character FBX — output of BD_AutoRigUEFN. The mesh and skeleton that will be animated.
    fpsINT301–120Frame rate of the source animation (must match HunyuanMotion generation fps).
    filenameoptSTRINGanim_retargetBase filename without extension.
    name_prefixoptSTRINGPrepended to filename. Supports subdirs (e.g. 'autorig/mychar').
    auto_incrementoptBOOLEANtrueAuto-increment filename to avoid overwriting.
    context_idoptSTRINGBD_SaveContext id for template-based naming. Empty + one registered context = auto-pick. When resolved, filename/name_prefix pass through as %filename%/%name_prefix%.
    suffixoptSTRINGPer-save suffix → %suffix% in the context template.
    context_custom_varsoptSTRINGExtra key=value template vars (one per line). Only used when context_id resolves.

    Outputs (1)

    NameTypeDescription
    animated_fbxSTRING