# Auto-rig a 3D model, and keep it only if it walks

> Auto-rig a 3D model for your game from the command line: an unrigged glb bound to a biped, quadruped or flier skeleton, kept only when its walk plays clean.

- URL: https://tyrbo.ai/auto-rig-3d-model-for-games
- Title: Auto-Rig a 3D Model for Games, Checked by Its Walk
- Language: English (en)
- Updated: 2026-11-26
- In other languages: [Deutsch](https://tyrbo.ai/de/3d-modell-automatisch-riggen), [Español](https://tyrbo.ai/es/rigging-automatico-modelo-3d), [Français](https://tyrbo.ai/fr/rigging-automatique-modele-3d), [Português (Brasil)](https://tyrbo.ai/pt-br/rig-automatico-de-modelo-3d), [日本語](https://tyrbo.ai/ja/jido-rigingu-3d-moderu), [한국어](https://tyrbo.ai/ko/3d-model-jadong-riging), [简体中文](https://tyrbo.ai/zh-cn/3d-moxing-zidong-bangding-gugu)

You have a model: a sculpt from a 3D generator, a store download, a character a friend modelled. It stands still because it has no bones. `asset rig` binds it to a skeleton, plays that skeleton’s walk on it, and writes the bound `.glb` only once the walk plays without the mesh tearing. A model that already carries a skeleton, including one with Mixamo’s bone names, is rebound to the same skeleton for free.

Send this to your agent

```
Set up Tyrbo asset gen for me so I can make my game's art, sprite sheets, animated characters, 3D models, UI and sound from here, all in one look.
1. Install the CLI: run `npm install -g @tyrbo/asset` (Node 20.11 or later).
2. Add the skill: in Claude Code, run `claude plugin marketplace add https://cdn.jsdelivr.net/npm/@tyrbo/asset/.claude-plugin/marketplace.json`, then `claude plugin install tyrbo-asset@tyrbo`. In another MCP client, add the MCP server `npx -y @tyrbo/asset mcp`. In any other agent, read `asset --help` before the first call.
3. Check it, free: in an empty scratch folder, not my game's, run `asset look grove "hand-painted fantasy forest, soft dappled light" --view top-down --mock`. It needs no key and writes stand-in files there.
4. Authenticate: ask me to make an asset key at https://app.tyrbo.ai/?from=/asset-generator#/settings/assets (Settings, Asset gen) and to run `asset login` in my own terminal, pasting the key there. Never ask me for the key in chat, and never run `asset login` yourself. Once I have, run `asset spend` to see it works.
Once that's done, let me know when it's ready.
```

[Get an asset key](https://app.tyrbo.ai/?from=/asset-generator#/settings/assets)[Read the docs](https://tyrbo.ai/asset-generator/docs)

## The commands

```
asset rig knight models/knight.glb
asset rig hound models/hound.glb --as quadruped --no-marks
asset rig hero models/hero-mixamo.glb --as biped
asset animate knight --clips idle,walk,run,jump
asset render2d knight --view top-down
```

## Made by the CLI, not drawn for this page

Real files the asset CLI wrote, each under the command that made it.

![The wolf demon boss as sculpted, in its rest pose, turning once round](https://tyrbo.ai/asset-gen/citadel/wolfboss-rest.webp)

### See prompt

`asset mesh wolfboss "a towering wolf demon boss standing on two legs: wolf head with curved horns and glowing red eyes, dark shaggy fur, iron bracers, a torn loincloth, long claws, no weapon, arms at its sides" --rig biped --triangles 10000`

![The wolf demon boss see-through, its skeleton of 25 bones drawn inside it, turning once round](https://tyrbo.ai/asset-gen/citadel/wolfboss-bones.webp)

![The wolf demon boss walking](https://tyrbo.ai/asset-gen/citadel/wolfboss-walk.webp)

## Three skeletons, picked by shape

A model is bound to one of three skeletons: a **biped** for anything on two legs, a **quadruped** for four, a **flier** for wings. `--as` names one outright. Without it, the skeleton is read from the joints a rigged model already names, or from the shape of the mesh.

For an unrigged biped, a cheap vision model first marks its joints on a front view, the way an animator places markers before an auto-rig. Code checks each mark: knees under hips, elbows between shoulders and wrists, left and right the right way round. A mark found off is asked once more. `--no-marks` skips the model and fits the joints from the mesh alone, free.

## The walk is the test

Binding is only half the job; a rig that tears the first time a knee bends is no use in a game. So before anything is written, the skeleton's walk is played on the bound model (a flier's fly). If a vertex is pulled loose, the rig is refused and that vertex is named.

The notes also say when a limb carries too little of its own skin, for example an arm that bends along its length or a leg that stays behind with the body, and which weightings were tried. A joint the bone map cannot settle on a rigged model is named back, so you can pass `--bones joint=bone` to place it, or `drop` to leave it out.

## From bones to motion

A bound model is ready for the clip library. `asset animate` writes clips such as idle, walk, run and jump into the same `.glb`, free, and the [3D animation clips page](https://tyrbo.ai/3d-game-animation-clips) covers the rest of that step. `asset render2d` plays those clips and draws them from your game's camera onto a sprite sheet, for a 2D game built from 3D models, as [the 3D model to sprite sheet page](https://tyrbo.ai/3d-model-to-sprite-sheet) explains.

For a model that does not exist yet, [the text to rigged 3D character page](https://tyrbo.ai/text-to-rigged-3d-character) starts from words and binds as it goes.

## Questions people ask

### What does rigging cost?

Rebinding a model that already has a skeleton is free. An unrigged biped’s joints are marked by a cheap model for about $0.001; with `--no-marks` the whole rig is free.

### Can it rig a spider or a snake?

The three library skeletons cover two legs, four legs and wings. A body none of them fits, with many legs or tentacles, is made with `asset shape --rig own` on a skeleton of its own.

### Will a Mixamo character keep working?

Yes. Mixamo’s bone names and other common naming schemes are mapped onto the library skeleton, so the library’s clips play on it after the rebind.

## Rigging and animation

- [3D game animation clips](https://tyrbo.ai/3d-game-animation-clips)
- [AI 2D character animation](https://tyrbo.ai/ai-2d-character-animation)
- [2D puppet animation generator](https://tyrbo.ai/2d-puppet-animation-generator)

## More from the asset generator

- [Asset generator](https://tyrbo.ai/asset-generator)
- [Docs](https://tyrbo.ai/asset-generator/docs)
- [Top-down RPG character sprite sheet](https://tyrbo.ai/top-down-rpg-character-sprite-sheet)
- [AI 3D model generator for games](https://tyrbo.ai/ai-3d-model-generator-for-games)
- [Game UI generator](https://tyrbo.ai/game-ui-generator)
- [AI sprites for Godot](https://tyrbo.ai/ai-sprites-for-godot)
- [Game assets for Claude Code](https://tyrbo.ai/ai-game-assets-for-claude-code)
- [Pixel art asset generator](https://tyrbo.ai/pixel-art-asset-generator)

## Install it, then ask for the look.

[Get an asset key](https://app.tyrbo.ai/?from=/asset-generator#/settings/assets)

Make a key in the Tyrbo app, then run asset login. Add --mock to try any command free first.

---

This is the Markdown version of https://tyrbo.ai/auto-rig-3d-model-for-games, from Tyrbo (The AI game engine). Cite and link the page itself. Every page: https://tyrbo.ai/llms.txt