Skip to content
Back to skills

Unreal Rigged Character

ASecurity

A game-assets rigged humanoid into Unreal: skeletal mesh import, IK Rig chains from the role map, IK Retargeter, batch retarget, sockets for props.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentspythongobashnodespring

Works with

  • cli

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add tipoLi5890/game-studio --skill unreal-rigged-character --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Unreal Rigged Character?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Unreal Rigged Character
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tipoli5890-unreal-rigged-character/badge)](https://www.skillsdirectory.com/skills/tipoli5890-unreal-rigged-character)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: unreal-rigged-character
description: >-
  A game-assets rigged humanoid into Unreal: skeletal mesh import, IK Rig chains from the role
  map, IK Retargeter, batch retarget, sockets for props.
---

# unreal-rigged-character — a game-assets character, retargetable in Unreal

The asset side hands over a rigged mesh, its skeleton file and a role map that names its bones by
contract role. A chain plan written from those files with no engine fixes the IK Rig's chains and
checks every bone; editor scripts then build the IK Rig and an IK Retargeter from the plan, so the
engine can move animation between the courier and any other rig.

## Load what the situation needs

| The situation | Read |
|---|---|
| "Make the courier retargetable", a new rigged character from the asset side | *The method* below |
| What arrives, why the role map and not engine names, the chain plan, the IK Rig | `reference/role-map-to-ik-rig.md`, `scripts/role_map_chains.py` |
| Clips from another skeleton onto the courier, or the reverse; batch retarget | `reference/retargeting.md` |
| A parcel in the hand: sockets, attaching at runtime | `reference/sockets.md` |
| The hood, bag or straps should swing: the `secondary/2` file | `reference/secondary-motion.md` |
| Building the IK Rig in the editor | `templates/build_ik_rig.py` |
| Building the retargeter and retargeting clips | `templates/build_retargeter.py` |
| Importing the FBX onto a skeleton | `unreal-asset-import` |
| Playing the clips, montages, root motion | `unreal-animation` |
| Running an editor script headless | `unreal-editor-python` → `reference/headless-runs.md` |
| The contract roles and how the role map is made | `blender-retarget` (`game-assets` plugin) → `reference/engine-handoff.md` |

## What arrives from the asset side

| Artefact | Contract | Here |
|---|---|---|
| The Unreal FBX of the rig and its clips | the humanoid contract (deform bones, one root above the hips, centimetres) | imported by `unreal-asset-import` onto one skeleton |
| `<stem>.unreal.skeleton.json` | `skeleton/1` | the bones every chain is checked against |
| The role map | `role-map/1` | the IK Rig's chains, on the source bone names |
| Engine bone names, when given | `bone-names/1`, engine `unreal` | optional: mapping chains by bone. `contract_map.py --unreal-out` refuses while its unreal column is empty, so the other rig's names are read from that rig's asset |
| `<stem>.secondary.json` | `secondary/2` (`character-autorig` (`game-assets` plugin)) | one AnimDynamics or RigidBody node per spring chain |
| A held prop | its own mesh | a static prop, attached to a hand socket at runtime |

## The method

1. **Import the character first** (`unreal-asset-import`): the skeletal mesh `SKM_Courier` on the
   skeleton `SK_Courier`, every clip on that skeleton, no deform bone lost.
2. **Write the chain plan, no engine.**

   ```bash
   python3 scripts/role_map_chains.py --role-map courier.role-map.json \
       --skeleton Courier.unreal.skeleton.json --secondary Courier.secondary.json \
       --out ImportPlans/courier.chains.json
   ```

   One chain per limb, spine, neck, head, clavicle, toe and finger, each checked to be a path in
   the skeleton; the retarget root is the `Hips` bone. Fix every `FAIL` line first: the editor
   scripts refuse a plan that did not pass.
3. **Build the IK Rig** with `templates/build_ik_rig.py` (`PLAN`, `MESH`, `RIG` at the top): it
   checks the plan's bones against the imported mesh, then sets the mesh, the retarget root and the
   root motion bone and adds the chains. Run it headless through the runner of
   `unreal-editor-python`.
4. **Build the retargeter** with `templates/build_retargeter.py`: set `OTHER` to the other
   skeleton's IK Rig and a mesh on it, and `SIDE` to the courier's side. It maps chains by name,
   then by bone, then by `PAIRS`, and fails when a core chain has no source. List `CLIPS` to batch
   retarget them in the same run.
5. **Sockets and springs.** A `ParcelSocket` on the hand from the plan's `RightArm` chain
   (`reference/sockets.md`); one secondary-motion node per spring chain, as the plan's `route`
   says (`reference/secondary-motion.md`).
6. **Look once.** Open the retargeter, play one clip on both sides, and watch the arms, the feet and
   the spine before retargeting the rest of the library.

## The verdicts

| `role_map_chains.py` exit | Means |
|---|---|
| 0 | every required role resolves, every chain is a path, the optional files agree with the map and the skeleton |
| 2 | a required role unmapped or its bone absent, a chain that is not a path, a map with `"review": true`, a bone-names file for another engine or out of step with the map, a broken spring chain |
| 3 | an input file missing or not JSON |
| 1 | a bad flag, or a file stamped as another contract |

The editor templates end with `UNREAL_DEV_DONE <tool> ...` or `UNREAL_DEV_FAIL <tool> <reason>`
and write their summary JSON to the runner's `UNREAL_DEV_OUT` file.

## Traps

- **The role map is the contract.** Never type bone names into a script: the plan carries them, and
  a new export means a new plan.
- **No engine-name table ships.** The engine's mannequin bones are read from the mannequin's own
  asset (`SkeletonModifier.get_all_bone_names()`, or its IK Rig's chains), never from a list here.
- **A suggested role map is not a map.** `"review": true` fails until a person has read it.
- **Save what the controllers change.** The IK Rig and retargeter controllers save nothing; both
  templates save their asset.
- **Map the core chains.** Fuzzy name mapping leaves a chain empty when the names differ; the
  retargeter template fails on an empty spine, head, arm or leg chain instead of retargeting
  without it.
- **One skeleton per rig.** Clips imported onto a second copy of the skeleton do not play on the
  first; the import plan names the skeleton once.
- **Spring bones must be exported.** A `secondary/2` chain whose `cc_` bones are not in the
  skeleton file fails the plan: the export left them out.

## Related skills

- `unreal-asset-import` → `reference/fbx-options.md`: the skeletal mesh and clips onto one skeleton, the Physics Asset at import
- `unreal-animation` → `reference/anim-instance.md`: the Animation Blueprint, where the spring nodes go; montages and root motion
- `unreal-editor-python` → `reference/headless-runs.md`: the headless run, its sentinel and its output file
- `unreal-gameplay-framework`: the courier character whose mesh holds the socket
- `unreal-replication`: the carried parcels in a networked game
- `blender-retarget` → `reference/engine-handoff.md`: the contract, the role map and the Unreal FBX
- `character-autorig`: the rig and its spring chains

Files in this skill

  • SKILL.md6.6 KB
  • reference/retargeting.md6 KB
  • reference/role-map-to-ik-rig.md7.5 KB
  • reference/secondary-motion.md4.4 KB
  • reference/sockets.md3.9 KB
  • scripts/role_map_chains.py23.4 KB
  • templates/build_ik_rig.py6.1 KB
  • templates/build_retargeter.py8.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.