Skip to content
Back to skills

Game Asset Vrm Motion

ASecurity

将 FBX、BVH 或视频动捕映射到 VRM 角色,处理静止姿势、坐标、握持 IK 与时间抖动,适用于角色动作迁移和双手武器动作检查。

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 18, 2026
designpythonspringapi

Works with

  • api

Security analysis

A100/100

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

Scanned October 18, 2026

npx -y skills add zeroa234/game-asset-aesthetic-test --skill game-asset-vrm-motion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Game Asset Vrm Motion?

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

Security grade badge for Game Asset Vrm Motion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zeroa234-game-asset-vrm-motion/badge)](https://www.skillsdirectory.com/skills/zeroa234-game-asset-vrm-motion)

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: game-asset-vrm-motion
description: 将 FBX、BVH 或视频动捕映射到 VRM 角色,处理静止姿势、坐标、握持 IK 与时间抖动,适用于角色动作迁移和双手武器动作检查。
---

# VRM 动作映射与武器

输入可使用的 VRM、动作文件或原视频,以及目标帧率、地面和握持要求。优先考虑带正确握法的现成动作包、Rokoko/Blender 约束;已有动捕欠缺接触信息时才用附带补偿流程。

## 执行

1. 核对源/目标 rest pose、骨骼语义、长度单位、帧率与前向。附带 `mocap-to-vrm.py` 主要验证过 CMU 和 SMPL-X 映射,Mixamo 表存在但没有同等实测;A-pose 先做静止姿势校正。
2. 世界旋转传递先消除源静止旋转,再经朝向校正映射到目标静止姿势;根位移按骨长缩放。朝向校正仅包含 yaw,不能把髋到头的前倾当成世界上方向,否则前进会下沉。
3. GVHMR 镜头跟踪依赖背景特征。纯白跟拍素材在历史试验中无法恢复相机;固定机位模式可得到身体动作,但失去跟拍对应的水平位移,不能宣称恢复真实世界轨迹。
4. 手部检测率不是手型正确率。小尺寸、模糊与双手交叠时,MediaPipe/DWPose 的手指都曾不可用;先看叠加图与关节方向,握刀可用明确的固定手型和握点约束。
5. 主手用含朝向和关节限位的整臂 IK,辅助手允许沿柄滑动及有限扭转分配。不要只旋手腕对刀;够不到时记录接触丢失,考虑改动作或全身 IK,不能伪造完全握住。
6. 抖动先记录骨盆、挂点、原始手腕、目标方向、碰撞修正和最终轨迹,定位出现反转的阶段。挂点在骨盆局部滤波;使用现成 SciPy/Blender 滤波,碰撞修正需时间连续。直接平滑最终位置可能重新穿模。

## 配套代码

在 `assets/workspace/`,Blender 先安装 VRM Add-on:

```sh
blender -b --python scripts/mocap-to-vrm.py -- model.vrm motion.fbx work/retarget --map cmu --no-render
blender -b work/retarget/motion.blend --python scripts/vrm-hand-grip.py -- work/grip --arms ik --no-render
```

第二条只启用手型。使用 `--katana` 前必须为新动作准备刀向键、拔刀区间、握点和角色局部朝向;包内旧键只作数据格式参考,绝不能作为新动作的正确标注。

## 验收与边界

比较源/目标的缩放后髋高与脚底,分清骨关节高度、鞋底与腾空帧;接地不等于水平锁脚。统计角速度、反转次数、位置二阶差分、握点距离、手腕限位及碰撞,再看连续视频。快速斩击的大转角不一定是抖动。

历史试验留下落地斩辅助手够不到、宽松上衣接触和一处拔刀小反转;SpringBone 鞘链少穿模可能只是甩得更远。没有完成的锁脚、移动相机、手部高质量重建或游戏验收须继续标为待测。

资源与授权入口见 [sources.md](references/sources.md),代码及适配边界见 [implementation.md](references/implementation.md)。

Files in this skill

  • SKILL.md3 KB
  • assets/workspace/config/katana-keys-BV1fV411h7LB-26.5-30.json2.2 KB
  • assets/workspace/requirements.txt33 B
  • assets/workspace/scripts/gvhmr-to-bvh.py5.5 KB
  • assets/workspace/scripts/hands-mediapipe.py8.8 KB
  • assets/workspace/scripts/katana-jitter.py6.3 KB
  • assets/workspace/scripts/mocap-to-vrm.py12.4 KB
  • assets/workspace/scripts/vrm-dress.py46.8 KB
  • assets/workspace/scripts/vrm-hand-grip.py57.8 KB
  • assets/workspace/scripts/vrm-physics.py22.8 KB
  • assets/workspace/scripts/vrm-secondary.py6.8 KB
  • references/implementation.md2.6 KB
  • references/manifest.json3.9 KB
  • references/sources.md1.6 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.

Comments

Loading comments…

Newsletter

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