update doc/*/rigging.md

This commit is contained in:
MihailRis 2024-07-21 21:54:30 +03:00
parent 0333ce6990
commit 2b50e85cdc
2 changed files with 7 additions and 3 deletions

View File

@ -16,6 +16,7 @@ A skeleton file has the following structure:
"root": { "root": {
"name": "name", "name": "name",
"model": "model_name", "model": "model_name",
"offset": [x, y, z],
"nodes": [ "nodes": [
... ...
] ]
@ -24,9 +25,10 @@ A skeleton file has the following structure:
``` ```
- root - root element - root - root element
- name - name of the element to get the index (field optional) - name - name of the element to get the index (optional field)
- model - name of the model to display the element (field optional) - model - name of the model to display the element (optional field)
- nodes - list of elements - descendants, which are affected by the matrix of this element (the field is optional) - offset - element offset relative to the parent (optional field)
- nodes - list of elements - sub-elements, which are affected by the matrix of this element (optional field)
At the moment, positioning, rotation, scaling is done through scripting, as well as animation. At the moment, positioning, rotation, scaling is done through scripting, as well as animation.

View File

@ -16,6 +16,7 @@
"root": { "root": {
"name": "имя", "name": "имя",
"model": "имя_модели", "model": "имя_модели",
"offset": [x, y, z],
"nodes": [ "nodes": [
... ...
] ]
@ -26,6 +27,7 @@
- root - корневой элемент - root - корневой элемент
- name - имя элемента для получения индекса (поле опционально) - name - имя элемента для получения индекса (поле опционально)
- model - имя модели для отображения элемента (поле опционально) - model - имя модели для отображения элемента (поле опционально)
- offset - смещение элемента относительно родителя (поле опционально)
- nodes - список элементов - потомков, на которые влияет матрица данного элемента (поле опционально) - nodes - список элементов - потомков, на которые влияет матрица данного элемента (поле опционально)
На данный момент расположение, вращение, масштабирование выполняется через скриптинг, так же как и анимация. На данный момент расположение, вращение, масштабирование выполняется через скриптинг, так же как и анимация.