> For the complete documentation index, see [llms.txt](https://wiki.redmodding.org/cyberpunk-2077-modding/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/file-formats/armatures-.rig-files.md).

# Armatures: .rig files

Move and deform meshes with .rigs

## Summary

**Published:** Oct 12 by [mana vortex](mailto:undefined)\
**Last documented edit**: Oct 12 by [mana vortex](mailto:undefined)

This page contains **theory** about Cyberpunk's armature files.

### Wait, this is not what I want!

* To find out how armatures and meshes are connected, check [Meshes and Armatures: Rigging](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/3d-modelling/meshes-and-armatures-rigging.md)
* To edit an armature, check [For V and NPC - Rig deforming](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/npcs/rig-deforming-for-v.md)
* For a hands-on guide, check [Poses/Animations: make your own](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/animations/animations/poses-animations-make-your-own.md)

## What's a rig?

A `rig` (also `armature`, the terms will be used interchangeable) is the **skeleton structure** used to control and animate [`meshes`](https://github.com/CDPR-Modding-Documentation/Cyberpunk-Modding-Docs/blob/main/for-mod-creators-theory/files-and-what-they-do/file-formats/3d-objects-.mesh-files).

Each armature is a hierarchical connection of bones (similar to a meatspace skeleton — the foot bone's connected to the leg bone).

### Control

Via `rotation` and `translation` of individual bones, the armature controls the **pose** of the connected mesh. You can read more about this on the [Meshes and Armatures: Rigging](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/3d-modelling/meshes-and-armatures-rigging.md) page.

### Deform

Via `scale`, the armature **deforms** the connected mesh. This is how custom rigs are used to change V's body shape.

To learn more about this, check [For V and NPC - Rig deforming](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/npcs/rig-deforming-for-v.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/file-formats/armatures-.rig-files.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
