← ClaudeAtlas

magica-cloth-2listed

Author and tune cloth physics with Magica Cloth 2 in Unity, code-first via the Unity MCP (Unity_RunCommand) — BoneCloth / MeshCloth / BoneSpring setup, capsule/ sphere/plane colliders, constraint parameters, runtime build, and in-editor visual testing. Use when adding or fixing cloth/jiggle on a character (skirt, hair, cape, tail, chest, accessories), when cloth clips through the body, jitters, feels too stiff/floppy, penetrates on fast motion, or when the user mentions Magica Cloth, MagicaCloth, cloth simulation, or dynamic bones in a Unity project.
Firzus/agent-skills · ★ 1 · AI & Automation · score 72
Install: claude install-skill Firzus/agent-skills
# Magica Cloth 2 (code-first authoring via Unity MCP) Set up and tune cloth simulation on a Unity character **without clicking the Inspector** — by running C# in the Editor through the Unity MCP `Unity_RunCommand` tool. Magica Cloth 2 exposes its entire config as a public `ClothSerializeData` plus a `BuildAndRun()` entry point, so every Inspector action is reproducible from script. This is validated ground truth on **v2.8.0** (full C# source under `Assets/Plugins/MagicaCloth2/`). The look lives in **authored data** (cloth type, vertex/bone selection, collider placement, constraint curves), not in code. Plan the data first; the solver is fixed. ## Prerequisites (verify, else stop) 1. **Magica Cloth 2 present.** `Assets/Plugins/MagicaCloth2/` (or a UPM package). Check the version in `.../Editor/EditorExtension/AboutMenu.cs` — feature gating depends on it. 2. **Unity MCP connected.** `Unity_RunCommand`, `Unity_ManageEditor`, `Unity_ReadConsole` available. If not, stop and tell the user. 3. **Target character** with a humanoid/skeleton rig and SkinnedMeshRenderer(s). For MeshCloth, the source mesh must be **Read/Write ON** and **Optimize GameObjects OFF**. ## Decision: pick the cloth type first Everything downstream depends on this. See [pipeline.md](./pipeline.md) for internals. | Type | Simulates | Use for | Selection data | Cost | | --- | --- | --- | --- | --- | | **BoneCloth** | Transform chains | hair, tails, cords, skirts **with bones** | auto (root=Fixed, r