mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-13 14:49:28 +00:00
a3b394c507
Initial layout
20 lines
796 B
JSON
20 lines
796 B
JSON
{
|
|
"format_version" : "1.8.0",
|
|
"animations" : {
|
|
"animation.drowned.attack.rotations" : {
|
|
"loop" : true,
|
|
"bones" : {
|
|
"body" : {
|
|
"rotation" : [ 0.0, "math.sin(math.sqrt(variable.attack_time) * 360.0) * 11.46", 0.0 ]
|
|
},
|
|
"leftarm" : {
|
|
"rotation" : [ "-(math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) + math.sin(variable.attack_time * 180.0)) * 5.73", 0.0, 0.0 ]
|
|
},
|
|
"rightarm" : {
|
|
"rotation" : [ "-(math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 34.38 + math.sin(variable.attack_time * 180.0) * 28.65) * (variable.is_brandishing_spear ? -2.5 : 1.0 )", "variable.is_brandishing_spear ? 0.0 : math.sin(math.sqrt(variable.attack_time) * 360.0) * 22.92", 0.0 ]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|