In this section you will learn about the character skeleton.
Kinemation Rig
The Scriptable Animation System introduces a new way of storing the information about the character skeleton hierarchy - Rig Assets.Rig Asset is a Scriptable Object, which contains:
Character Skeleton hierarchy
Element Chains
Animation Curves
To create a new Rig Asset Right click -> KINEMATION -> Rig:
Rig Asset.
In order to update the character skeleton hierarchy, it’s required to provide a K Rig Component reference. To do this, attach the K Rig Component to the root bone of the skeleton hierarchy:Rig Component will iterate over all child transforms of the root bone and include them in the hierarchy collection. Then, you you will need to specify the Rig Component reference in your desired Rig Asset and hit the Import Rig button/The Rig Asset does not store the Transform references, instead, it has a List of KRigElements - a struct which has a name and an index of the element in the hierarchy.Then, you can retrive the Transform reference based on the KRigElement:Thanks to this system we can select bones we want to modify in the data assets without holding a reference to the bone!
Practical Example
The Rig Asset has another cool feature - automated bone selection. If you want to select a bone from the pop-up window in your custom script, make sure to implement the IRigUser interface:The only method this interface provides is GetRigAsset - it will be used by a custom drawer to select a rig element.Now, simply add a KRigElement to your script:Now when you get back to the Editor, you will be able to select an element from the hierarchy. This concept is used for Animator Layer Settings and other entities in the framework.And in the next section we will learn about the new layer system!
KRigElement
This struct represents the element in the hierarchy:Rig Elements are visually represented as selectable widgets in Rig Asset, Animator Layers and other scripts:
Rig elements.
The Rig Element does not represent the Transform itself, so you need to re-trieve the Transform reference via the Rig Component:When you select an element in the editor, the system caches the index in the hierearchy automatically. However, it is also possible to get a Transform reference by a string name only:
Tip: Transforms re-trieved via the Rig Component are always valid, unless the index is inentionally changed in the constructor. If the Rig Element is empty, the Rig Component will return a reference to the root bone.
KPose
KPose is a struct that represents an element pose in the Kinemation Rig. Let’s see what fields it has:The KPose has many applications, like pose caching, blending and a convenient pose offset. For example, it is very convenient for bone modifications:
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Kinemation","colors":{"primary":"#6B4FE8","light":"#EDE9FB","dark":"#2D1F7A"},"logo":{"light":"https://mintcdn.com/kinemation/Oe4SC8lqotg2knLA/images/Kinemation_Logo_Circle.svg?fit=max\u0026auto=format\u0026n=Oe4SC8lqotg2knLA\u0026q=85\u0026s=6a2a2b50270f33282685e0eeb7466c37","dark":"https://mintcdn.com/kinemation/Oe4SC8lqotg2knLA/images/Kinemation_Logo_Circle.svg?fit=max\u0026auto=format\u0026n=Oe4SC8lqotg2knLA\u0026q=85\u0026s=6a2a2b50270f33282685e0eeb7466c37"},"favicon":{"light":"https://mintcdn.com/kinemation/Oe4SC8lqotg2knLA/images/Kinemation_Logo_Circle.svg?fit=max\u0026auto=format\u0026n=Oe4SC8lqotg2knLA\u0026q=85\u0026s=6a2a2b50270f33282685e0eeb7466c37","dark":"https://mintcdn.com/kinemation/Oe4SC8lqotg2knLA/images/Kinemation_Logo_Circle.svg?fit=max\u0026auto=format\u0026n=Oe4SC8lqotg2knLA\u0026q=85\u0026s=6a2a2b50270f33282685e0eeb7466c37"},"navbar":{"links":[],"primary":{"type":"github","href":"https://github.com/kinemation"}},"footer":{"socials":{"youtube":"https://www.youtube.com/@kinemationstudio","discord":"https://discord.gg/kinemation-1027338787958816860"}},"integrations":{"ga4":{"measurementId":"G-QPSE9FYEMW"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kinemation","hasAudioNarration":false,"actualSubdomain":"kinemation","customDomains":["docs.kinemation.xyz"],"gitSource":{"type":"github","owner":"kinemation","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10fa759ffae5051c41b38c"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0efa88f4b490f2ad805b02","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"Unreal Engine","count":83},{"language":"default","tag":"Unity","count":75},{"language":"default","tag":"Character Animation System","count":67},{"language":"default","tag":"General","count":58},{"language":"default","tag":"Survival Pack","count":50},{"language":"default","tag":"Scriptable Animation System","count":45},{"language":"default","tag":"Sci-Fi FPS Pack","count":42},{"language":"default","tag":"Tactical Shooter Pack","count":38},{"language":"default","tag":"Tutorials","count":32},{"language":"default","tag":"FPS Animation Pack","count":30}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@kinemation.xyz"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"main :is(img,video){display:block;max-width:min(var(--kinemation-image-max-width), 100%);height:auto;margin-inline:auto}main .frame{max-width:min(var(--kinemation-image-max-width), 100%);margin-inline:auto}main .frame :is(img,video){max-width:100%}:root{--kinemation-image-max-width: 75%;--kinemation-callout-text-light: #4b5563;--kinemation-callout-text-dark: #f3f4f6}[data-component-part=\"callout-content\"]{color:var(--kinemation-callout-text-light)!important}html.dark [data-component-part=\"callout-content\"]{color:var(--kinemation-callout-text-dark)!important}"}]}
{"page":{"pagePath":"scriptable-animation-system/fundamentals/rig","slug":"/scriptable-animation-system/fundamentals/rig","pageMetadata":{"title":"🦾Rig","sidebarTitle":"🦾Rig","description":"In this section you will learn about the character skeleton.","href":"/scriptable-animation-system/fundamentals/rig"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"In this section you will learn about the character skeleton.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={em:`em`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,OptimizedImage,Tip}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`kinemation-rig`,children:`Kinemation Rig`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Scriptable Animation System`}),` introduces a new way of storing the information about the character skeleton hierarchy - Rig Assets.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rig Asset`}),` is a Scriptable Object, which contains:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Character Skeleton hierarchy`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Element Chains`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Animation Curves`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`To create a new `,_jsx(_components.strong,{children:`Rig Asset Right click -> KINEMATION -> Rig:`})]}),`\n`,_jsx(Frame,{caption:`Rig Asset.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e67e7553f8e9df014074.png?fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=202b3737ba584b88e61c2504dc1b03c4`,alt:``,width:397,\"data-og-width\":`529`,\"data-og-height\":`202`,\"data-path\":`images/scriptable-animation-system/e67e7553f8e9df014074.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e67e7553f8e9df014074.png?w=280\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=2977a7cf6357be20314a0bc9e667de18 280w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e67e7553f8e9df014074.png?w=560\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=7fbf7f61467662165887632a8676a61c 560w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e67e7553f8e9df014074.png?w=840\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=ce7b39e5d0c7fbfa2cb15b91698dd8cd 840w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e67e7553f8e9df014074.png?w=1100\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=13134347a50bc65225ac6bfdfa448a30 1100w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e67e7553f8e9df014074.png?w=1650\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=bbc298b5d91b901bde8b8e51db4a2bfd 1650w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e67e7553f8e9df014074.png?w=2500\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=91faa2415321b729e29587ea49cb0b77 2500w`})}),`\n`,_jsxs(_components.p,{children:[`In order to update the character skeleton hierarchy, it’s required to provide a `,_jsx(_components.strong,{children:`K Rig Component`}),` reference. To do this, attach the `,_jsx(_components.strong,{children:`K Rig Component`}),` to the root bone of the skeleton hierarchy:`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/8037349928b5be26d1e5.png?fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=d6e2275d583b9f1a2d267bb978de3afd`,alt:``,width:257,\"data-og-width\":`342`,\"data-og-height\":`189`,\"data-path\":`images/scriptable-animation-system/8037349928b5be26d1e5.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/8037349928b5be26d1e5.png?w=280\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=21e8d9c4e496184db3486c0f4106e742 280w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/8037349928b5be26d1e5.png?w=560\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=79504ed45cfb947a5ea58328bf25aeb2 560w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/8037349928b5be26d1e5.png?w=840\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=6fdb7c09570fdee52bd17d87b697be17 840w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/8037349928b5be26d1e5.png?w=1100\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=c4b1ff2552f9d2907f86b6df4f7e7511 1100w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/8037349928b5be26d1e5.png?w=1650\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=43c3b604ce2ae428372161376ea06429 1650w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/8037349928b5be26d1e5.png?w=2500\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=dd128c8521f365230e0a96cc6f2cbb29 2500w`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rig Component`}),` will iterate over all child transforms of the root bone and include them in the hierarchy collection. Then, you you will need to specify the `,_jsx(_components.strong,{children:`Rig Component`}),` reference in your desired `,_jsx(_components.strong,{children:`Rig Asset`}),` and hit the `,_jsx(_components.em,{children:`Import Rig`}),` button/`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Rig Asset`}),` does not store the Transform references, instead, it has a List of `,_jsx(_components.strong,{children:`KRigElements`}),` - a struct which has a name and an `,_jsx(_components.strong,{children:`index`}),` of the element in the hierarchy.`]}),`\n`,_jsxs(_components.p,{children:[`Then, you can retrive the Transform reference based on the `,_jsx(_components.strong,{children:`KRigElement`}),`:`]}),`\n`,_jsx(_components.p,{children:`Thanks to this system we can select bones we want to modify in the data assets without holding a reference to the bone!`}),`\n`,_jsx(Heading,{level:`2`,id:`practical-example`,children:`Practical Example`}),`\n`,_jsxs(_components.p,{children:[`The Rig Asset has another cool feature - automated bone selection. If you want to select a bone from the pop-up window in your custom script, make sure to implement the `,_jsx(_components.strong,{children:`IRigUser`}),` interface:`]}),`\n`,_jsx(_components.p,{children:`The only method this interface provides is GetRigAsset - it will be used by a custom drawer to select a rig element.`}),`\n`,_jsx(_components.p,{children:`Now, simply add a KRigElement to your script:`}),`\n`,_jsxs(_components.p,{children:[`Now when you get back to the Editor, you will be able to select an element from the hierarchy. This concept is used for `,_jsx(_components.strong,{children:`Animator Layer Settings`}),` and other entities in the framework.`]}),`\n`,_jsx(_components.p,{children:`And in the next section we will learn about the new layer system!`}),`\n`,_jsx(Heading,{level:`2`,id:`krigelement`,children:`KRigElement`}),`\n`,_jsx(_components.p,{children:`This struct represents the element in the hierarchy:`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rig Elements`}),` are visually represented as selectable widgets in Rig Asset, Animator Layers and other scripts:`]}),`\n`,_jsx(Frame,{caption:`Rig elements.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e37a4204ef8f9d86013a.png?fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=1144ec3e35821c9c8a943541040ec58d`,alt:``,width:338,\"data-og-width\":`451`,\"data-og-height\":`158`,\"data-path\":`images/scriptable-animation-system/e37a4204ef8f9d86013a.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e37a4204ef8f9d86013a.png?w=280\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=3c2530d79a6386979b3821e490b16ba1 280w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e37a4204ef8f9d86013a.png?w=560\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=082bb160dcf1e924219019dc19630a56 560w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e37a4204ef8f9d86013a.png?w=840\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=a869efdc2b406b6c40ec717ec77b5bca 840w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e37a4204ef8f9d86013a.png?w=1100\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=80979683098bbe953d72ae600c1a228c 1100w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e37a4204ef8f9d86013a.png?w=1650\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=6775490f7acb7f80321d3e53f98634b0 1650w, https://mintcdn.com/kinemation/IMbHDDWE_rjJU7jO/images/scriptable-animation-system/e37a4204ef8f9d86013a.png?w=2500\u0026fit=max\u0026auto=format\u0026n=IMbHDDWE_rjJU7jO\u0026q=85\u0026s=588441f489ab5546d6978dd99f7e4a10 2500w`})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Rig Element`}),` does not represent the Transform itself, so you need to re-trieve the Transform reference via the `,_jsx(_components.strong,{children:`Rig Component`}),`:`]}),`\n`,_jsx(_components.p,{children:`When you select an element in the editor, the system caches the index in the hierearchy automatically. However, it is also possible to get a Transform reference by a string name only:`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Tip:`}),` Transforms re-trieved via the Rig Component are always valid, unless the index is inentionally changed in the constructor. If the Rig Element is empty, the Rig Component will return a reference to the root bone.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`kpose`,children:`KPose`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`KPose`}),` is a struct that represents an element pose in the `,_jsx(_components.strong,{children:`Kinemation Rig`}),`. Let’s see what fields it has:`]}),`\n`,_jsx(_components.p,{children:`The KPose has many applications, like pose caching, blending and a convenient pose offset. For example, it is very convenient for bone modifications:`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"🦾Rig","sidebarTitle":"🦾Rig","description":"In this section you will learn about the character skeleton.","href":"/scriptable-animation-system/fundamentals/rig"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Kinemation Rig","slug":"kinemation-rig","depth":2,"children":[]},{"title":"Practical Example","slug":"practical-example","depth":2,"children":[]},{"title":"KRigElement","slug":"krigelement","depth":2,"children":[]},{"title":"KPose","slug":"kpose","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"kinemation","siteName":"Kinemation","title":"🦾Rig - Kinemation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-13T14:48:32.607Z","originalFileLocation":"scriptable-animation-system/fundamentals/rig.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"In this section you will learn about the character skeleton.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kinemation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"🦾Rig - Kinemation\">\u003cmeta data-mint-head property=\"og:description\" content=\"In this section you will learn about the character skeleton.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kinemation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.kinemation.xyz/scriptable-animation-system/fundamentals/rig\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kinemation.mintlify.site/_mintlify/api/og/v2?division=Fundamentals\u0026amp;title=%F0%9F%A6%BERig\u0026amp;description=In+this+section+you+will+learn+about+the+character+skeleton.\u0026amp;theme=afc07206c47a13b4e7b57251\u0026amp;signature=46dbb8ddef153ff7d64c6303b3de98a7894cb43d9a3e9855a9137e28d587a885\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"🦾Rig - Kinemation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"In this section you will learn about the character skeleton.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kinemation.mintlify.site/_mintlify/api/og/v2?division=Fundamentals\u0026amp;title=%F0%9F%A6%BERig\u0026amp;description=In+this+section+you+will+learn+about+the+character+skeleton.\u0026amp;theme=afc07206c47a13b4e7b57251\u0026amp;signature=46dbb8ddef153ff7d64c6303b3de98a7894cb43d9a3e9855a9137e28d587a885\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/kinemation/gXWNzvMHcmAcDlK_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kinemation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6B4FE8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.kinemation.xyz/scriptable-animation-system/fundamentals/rig\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/scriptable-animation-system/fundamentals/rig.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.kinemation.xyz/#organization\",\"name\":\"Kinemation\",\"url\":\"https://docs.kinemation.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kinemation/Oe4SC8lqotg2knLA/images/Kinemation_Logo_Circle.svg?fit=max\u0026auto=format\u0026n=Oe4SC8lqotg2knLA\u0026q=85\u0026s=6a2a2b50270f33282685e0eeb7466c37\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.kinemation.xyz#website\",\"name\":\"Kinemation\",\"url\":\"https://docs.kinemation.xyz\",\"publisher\":{\"@id\":\"https://docs.kinemation.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.kinemation.xyz/scriptable-animation-system/fundamentals/rig#webpage\",\"url\":\"https://docs.kinemation.xyz/scriptable-animation-system/fundamentals/rig\",\"name\":\"🦾Rig\",\"description\":\"In this section you will learn about the character skeleton.\",\"dateModified\":\"2026-08-13T14:48:32.607Z\",\"isPartOf\":{\"@id\":\"https://docs.kinemation.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.kinemation.xyz/scriptable-animation-system/fundamentals/rig#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.kinemation.xyz/scriptable-animation-system/fundamentals/rig#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Fundamentals\",\"item\":\"https://docs.kinemation.xyz/scriptable-animation-system/fundamentals/animator-layer\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"🦾Rig\",\"item\":\"https://docs.kinemation.xyz/scriptable-animation-system/fundamentals/rig\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.kinemation.xyz/scriptable-animation-system/fundamentals/rig#article\",\"headline\":\"🦾Rig\",\"name\":\"🦾Rig\",\"description\":\"In this section you will learn about the character skeleton.\",\"url\":\"https://docs.kinemation.xyz/scriptable-animation-system/fundamentals/rig\",\"mainEntityOfPage\":{\"@id\":\"https://docs.kinemation.xyz/scriptable-animation-system/fundamentals/rig#webpage\"},\"dateModified\":\"2026-08-13T14:48:32.607Z\",\"publisher\":{\"@id\":\"https://docs.kinemation.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.kinemation.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kinemation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Kinemation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/scriptable-animation-system/fundamentals/rig.md","siteName":"Kinemation","nav":{"global":null,"products":[{"product":"Character Animation System","pages":[{"title":"Character Animation System","href":"/cas/welcome"}]},{"product":"Motion Warping","pages":[{"title":"Motion Warping","href":"/mw/welcome"}]},{"product":"Retarget Pro","pages":[{"title":"Retarget Pro","href":"/retarget-pro/welcome"}]},{"product":"Tactical Shooter Pack","pages":[{"title":"Tactical Shooter Pack","href":"/tactical-shooter-pack/unreal/welcome"}]},{"product":"FPS Animation Pack","pages":[{"title":"FPS Animation Pack","href":"/fps-animation-pack/unreal/welcome"}]},{"product":"PRAS","pages":[{"title":"PRAS","href":"/pras/welcome"}]},{"product":"Magic Blend","pages":[{"title":"Magic Blend","href":"/magic-blend/readme"}]},{"product":"Scriptable Animation System","pages":[{"title":"👋Welcome!","sidebarTitle":"👋Welcome!","href":"/scriptable-animation-system/welcome"},{"title":"⚠️Aiming doesn't work","sidebarTitle":"⚠️Aiming doesn't work","href":"/scriptable-animation-system/aiming-doesnt-work"},{"title":"⚠️Twisted feet when looking left/right","sidebarTitle":"⚠️Twisted feet when looking left/right","href":"/scriptable-animation-system/twisted-feet-when-looking-left-right"},{"group":"Demo Project","pages":[{"title":"➕Attachment System","sidebarTitle":"➕Attachment System","href":"/scriptable-animation-system/demo-project/attachment-system"},{"title":"🎮Controller","sidebarTitle":"🎮Controller","href":"/scriptable-animation-system/demo-project/controller"},{"title":"✨Resources","sidebarTitle":"✨Resources","href":"/scriptable-animation-system/demo-project/resources"},{"title":"🔫Weapons and Items","sidebarTitle":"🔫Weapons and Items","href":"/scriptable-animation-system/demo-project/weapons-and-items"}]},{"group":"Fundamentals","pages":[{"title":"📜Animator Layer","sidebarTitle":"📜Animator Layer","href":"/scriptable-animation-system/fundamentals/animator-layer"},{"title":"🔶Animator Layers","sidebarTitle":"🔶Animator Layers","href":"/scriptable-animation-system/fundamentals/animator-layers"},{"title":"📑Animator Profiles","sidebarTitle":"📑Animator Profiles","href":"/scriptable-animation-system/fundamentals/animator-profiles"},{"title":"⚙️Framework Architecture","sidebarTitle":"⚙️Framework Architecture","href":"/scriptable-animation-system/fundamentals/framework-architecture"},{"title":"🎮Input System","sidebarTitle":"🎮Input System","href":"/scriptable-animation-system/fundamentals/input-system"},{"title":"📚New Animation Library","sidebarTitle":"📚New Animation Library","description":"In this section you will get an overview of the new animation core.","href":"/scriptable-animation-system/fundamentals/new-animation-library"},{"title":"🦾Rig","sidebarTitle":"🦾Rig","href":"/scriptable-animation-system/fundamentals/rig"},{"title":"⚒️Tools","sidebarTitle":"⚒️Tools","description":"In this section you will learn about the framework tools.","href":"/scriptable-animation-system/fundamentals/tools"},{"group":"Animator Layers","pages":[{"title":"Additive Layer","sidebarTitle":"Additive Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/additive-layer"},{"title":"Ads Layer","sidebarTitle":"Ads Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/ads-layer"},{"title":"Attach Hand Layer","sidebarTitle":"Attach Hand Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/attach-hand-layer"},{"title":"Blending Layer","sidebarTitle":"Blending Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/blending-layer"},{"title":"Collision Layer","sidebarTitle":"Collision Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/collision-layer"},{"title":"IK Layer","sidebarTitle":"IK Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/ik-layer"},{"title":"IK Motion Layer","sidebarTitle":"IK Motion Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/ik-motion-layer"},{"title":"Look Layer","sidebarTitle":"Look Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/look-layer"},{"title":"Pose Offset Layer","sidebarTitle":"Pose Offset Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/pose-offset-layer"},{"title":"Pose Sampler Layer","sidebarTitle":"Pose Sampler Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/pose-sampler-layer"},{"title":"Sway Layer","sidebarTitle":"Sway Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/sway-layer"},{"title":"Turn Layer","sidebarTitle":"Turn Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/turn-layer"},{"title":"View Layer","sidebarTitle":"View Layer","href":"/scriptable-animation-system/fundamentals/animator-layers/view-layer"},{"title":"Weapon Layer General","sidebarTitle":"Weapon Layer General","href":"/scriptable-animation-system/fundamentals/animator-layers/weapon-layer-general"}]}]},{"group":"Misc","pages":[{"title":"📜Changelog","sidebarTitle":"📜Changelog","href":"/scriptable-animation-system/misc/changelog"},{"group":"Changelog","pages":[{"title":"4.7.0 Update","sidebarTitle":"4.7.0 Update","href":"/scriptable-animation-system/misc/changelog/4.7.0-update"}]}]},{"group":"Recoil System","pages":[{"title":"📹Camera Shake","sidebarTitle":"📹Camera Shake","href":"/scriptable-animation-system/recoil-system/camera-shake"},{"title":"🔫Recoil Animation","sidebarTitle":"🔫Recoil Animation","href":"/scriptable-animation-system/recoil-system/recoil-animation"},{"title":"〽️Recoil Pattern","sidebarTitle":"〽️Recoil Pattern","href":"/scriptable-animation-system/recoil-system/recoil-pattern"}]},{"group":"Troubleshooting","pages":[{"title":"⚠️Can't Look Around","sidebarTitle":"⚠️Can't Look Around","href":"/scriptable-animation-system/troubleshooting/cant-look-around"},{"title":"⚠️Initialization Warnings","sidebarTitle":"⚠️Initialization Warnings","href":"/scriptable-animation-system/troubleshooting/initialization-warnings"},{"title":"⚠️Weapon is not moving","sidebarTitle":"⚠️Weapon is not moving","href":"/scriptable-animation-system/troubleshooting/weapon-is-not-moving"},{"title":"⚠️Weapon Positioning","sidebarTitle":"⚠️Weapon Positioning","href":"/scriptable-animation-system/troubleshooting/weapon-positioning"}]},{"group":"Workflow","pages":[{"title":"🦾Character Rig","sidebarTitle":"🦾Character Rig","href":"/scriptable-animation-system/workflow/character-rig"},{"title":"🔌Components","sidebarTitle":"🔌Components","href":"/scriptable-animation-system/workflow/components"},{"title":"💻Extending the System","sidebarTitle":"💻Extending the System","href":"/scriptable-animation-system/workflow/extending-the-system"},{"title":"➕Integration","sidebarTitle":"➕Integration","href":"/scriptable-animation-system/workflow/integration"},{"title":"🔗Linking","sidebarTitle":"🔗Linking","href":"/scriptable-animation-system/workflow/linking"},{"title":"▶️Playing Animations","sidebarTitle":"▶️Playing Animations","href":"/scriptable-animation-system/workflow/playing-animations"},{"title":"🔶Profiles and Layers","sidebarTitle":"🔶Profiles and Layers","href":"/scriptable-animation-system/workflow/profiles-and-layers"}]}]},{"product":"Sci-Fi FPS Pack","pages":[{"title":"Sci-Fi FPS Pack","href":"/sci-fi-fps-pack/welcome"}]},{"product":"Survival Pack","pages":[{"title":"Survival Pack","href":"/survival-pack/welcome"}]}]},"basePath":"","title":"🦾Rig - Kinemation","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-B-OFTXBF.js","DynamicMarkdown-CvOkzads.js","zoom-image-lightbox-B9SB_e-W.js","lightbox-handle-r17bVUz3.js"]}