vengi
vengi copied to clipboard
VOXELFORMAT: CUBZH: add animation support
https://github.com/Nanskip/cubzh-modules/tree/main/nanimator
{
"animations": {
"default": {
"playSpeed": 12,
"loopStart": 0,
"loopEnd": 0,
"maxTime": 35,
"shapes": {
"shape_1": {
"name": "shape_1",
"frames": {
"13_": {
"position": {
"_x": 0,
"_y": 0,
"_z": 0
},
"rotation": {
"_w": -0.490904,
"_edirty": false,
"_y": 0,
"_z": -0,
"_ey": 0,
"_ez": 4.16785,
"_x": 0.871213,
"_ex": 0
},
"interpolation": "linear"
},
"0_": {
"position": {
"_x": 0,
"_y": 0,
"_z": 0
},
"rotation": {
"_w": 1,
"_edirty": false,
"_y": 0,
"_z": 0,
"_ey": 0,
"_ez": 0,
"_x": 0,
"_ex": 0
},
"interpolation": "linear"
},
"35_": {
"position": {
"_x": 0,
"_y": 0,
"_z": 0
},
"rotation": {
"_w": -0.999552,
"_edirty": false,
"_y": 0,
"_z": 0,
"_ey": 0,
"_ez": 6.22333,
"_x": 0.029921,
"_ex": -0
},
"interpolation": "linear"
}
}
}
}
}
},
"shape": "lunarloo.damn_sword",
"shapeType": "shape"
}