I've put this in the animation, where parent is a folder which contains all the others, but it doesn't seem to work at all. I need help, thanks.
"bones": {
"parent": {
"rotation": [
0,
0,
"Math.min(Math.sqrt(Math.max(0, query.anim_time * 20 - 0.5) / 20 * 1.6), 1) * -90"
]
},
This obviously only a part of the json animation itself, just to give the idea.