跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
视频与音频

character-rigging

Build data-driven 2D character rigs for local animation: parts, pivots, layers, constraints, views, and reusable rig packages.

calesthio · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add calesthio/OpenMontage --skill character-rigging

技能说明


name: character-rigging description: Build data-driven 2D character rigs for local animation: parts, pivots, layers, constraints, views, and reusable rig packages. license: MIT

Character Rigging

Use this skill when building OpenMontage rig_plan artifacts or renderer input for local 2D character animation.

Proven Patterns

  • Keep runtime code generic; make each character a data package.
  • Split characters into independently transformable parts.
  • Define pivots in the same coordinate space as the artwork.
  • Store constraints on moving parts to prevent impossible rotations.
  • Keep layer order explicit; do not rely on SVG source order after generation.
  • Start with one view and add views only when the shot list requires them.

Rig Package

{
  "character_id": "mouse",
  "rig_type": "svg_rig",
  "parts": [
    { "id": "body", "kind": "torso", "layer": 10 },
    { "id": "head", "kind": "head", "layer": 30, "parent": "body" },
    { "id": "arm_right", "kind": "limb", "layer": 40, "parent": "body" }
  ],
  "joints": {
    "head": { "pivot": [320, 180], "rotation": [-20, 20] },
    "arm_right": { "pivot": [390, 310], "rotation": [-70, 95] }
  }
}

Quality Checklist

  • Every moving part has a pivot.
  • Every child part has a parent where hierarchy matters.
  • Mouth shapes are separate assets or separate path groups.
  • Eyes and pupils are separate when gaze needs to change.
  • Props are separate if the character touches or carries them.

Sources