1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-13 14:49:28 +00:00
bedrock-samples/resource_pack/animations/skeleton.animation.json
Mike Ammerlaan a3b394c507 1.19.30
Initial layout
2022-09-23 06:24:26 -07:00

17 lines
695 B
JSON

{
"format_version" : "1.8.0",
"animations" : {
"animation.skeleton.attack" : {
"loop" : true,
"bones" : {
"leftarm" : {
"rotation" : [ "-68.75 * math.sin(variable.attack_time * 180.0) + 22.92 * (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) - 90.0 - this", "5.73 - math.sin(variable.attack_time * 180.0) * 34.38 - this", "-this" ]
},
"rightarm" : {
"rotation" : [ "-68.75 * math.sin(variable.attack_time * 180.0) + 22.92 * (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) - 90.0 - this", "-5.73 + math.sin(variable.attack_time * 180.0) * 34.38 - this", "-this" ]
}
}
}
}
}