mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-13 14:49:28 +00:00
a3b394c507
Initial layout
79 lines
2.7 KiB
JSON
79 lines
2.7 KiB
JSON
{
|
|
"format_version" : "1.8.0",
|
|
"animations" : {
|
|
"animation.vindicator.attack" : {
|
|
"loop" : true,
|
|
"bones" : {
|
|
"leftarm" : {
|
|
"rotation" : [ "query.is_riding ? 0.0 : ((math.cos(query.life_time * 20.0 * 10.89) * 28.65) + (math.sin(variable.attack_time * 180.0) * 68.76 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) * 22.92))", 0.0, 0.0 ]
|
|
},
|
|
"rightarm" : {
|
|
"rotation" : [ "(-108 + math.cos(query.life_time * 20.0 * 3.84) * 2.87) + (math.sin(variable.attack_time * 180.0) * 126.05 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) * 22.92)", 0.0, 0.0 ]
|
|
}
|
|
}
|
|
},
|
|
"animation.vindicator.hand_attack" : {
|
|
"loop" : true,
|
|
"bones" : {
|
|
"leftarm" : {
|
|
"rotation" : [ "(-108 + math.cos(query.life_time * 20.0 * 3.84) * 2.87) + (math.sin(variable.attack_time * 180.0) * 126.05 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) * 22.92)", 0.0, 0.0 ]
|
|
},
|
|
"rightarm" : {
|
|
"rotation" : [ "(-108 + math.cos(query.life_time * 20.0 * 3.84) * 2.87) + (math.sin(variable.attack_time * 180.0) * 126.05 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) * 22.92)", 0.0, 0.0 ]
|
|
}
|
|
}
|
|
},
|
|
"animation.vindicator.base" : {
|
|
"loop" : true,
|
|
"bones" : {
|
|
"arms" : {
|
|
"position" : [ 0.0, "-3.0 - this", "-1.0 - this" ],
|
|
"rotation" : [ "-42.97 - this", 0.0, 0.0 ]
|
|
},
|
|
"leftarm" : {
|
|
"rotation" : [ "math.cos(query.life_time * 20.0 * 3.84) * 2.87", -9.0, "-1 * (math.cos(query.life_time * 20.0 * 5.16) * 2.87 + 2.87)" ]
|
|
},
|
|
"rightarm" : {
|
|
"rotation" : [ "math.cos(query.life_time * 20.0 * 3.84) * 2.87", 9.0, "math.cos(query.life_time * 20.0 * 5.16) * 2.87 + 2.87" ]
|
|
},
|
|
"rightItem" : {
|
|
"scale": "query.is_angry ? 1.0 : 0.0"
|
|
},
|
|
"leftItem" : {
|
|
"scale": "query.is_angry ? 1.0 : 0.0"
|
|
}
|
|
}
|
|
},
|
|
"animation.vindicator.riding.arms" : {
|
|
"loop" : true,
|
|
"bones" : {
|
|
"leftarm" : {
|
|
"rotation" : [ -36.0, 0.0, 0.0 ]
|
|
}
|
|
}
|
|
},
|
|
"animation.vindicator.riding.legs" : {
|
|
"loop" : true,
|
|
"bones" : {
|
|
"leg0" : {
|
|
"rotation" : [ "-72.0 - this", "18.0 - this", "-this" ]
|
|
},
|
|
"leg1" : {
|
|
"rotation" : [ "-72.0 - this", "-18.0 - this", "-this" ]
|
|
}
|
|
}
|
|
},
|
|
"animation.vindicator.walk" : {
|
|
"loop" : true,
|
|
"bones" : {
|
|
"leg0" : {
|
|
"rotation" : [ "(math.cos(query.modified_distance_moved * 38.17) * 80.21) * query.modified_move_speed * 0.5", 0.0, 0.0 ]
|
|
},
|
|
"leg1" : {
|
|
"rotation" : [ "(math.cos(query.modified_distance_moved * 38.17 + 180) * 80.21) * query.modified_move_speed * 0.5", 0.0, 0.0 ]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|