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/dolphin.animation.json
Mike Ammerlaan a3b394c507 1.19.30
Initial layout
2022-09-23 06:24:26 -07:00

26 lines
706 B
JSON

{
"format_version" : "1.8.0",
"animations" : {
"animation.dolphin.move" : {
"loop" : true,
"bones" : {
"body" : {
"rotation" : [ "query.target_x_rotation - 2.865 + (-2.865 * math.cos(query.life_time * 343.8))", "query.target_y_rotation", 0.0 ]
},
"left_fin" : {
"rotation" : [ 0.0, 0.0, "17.19 * math.cos(query.life_time * 229.2) + 22.92" ]
},
"right_fin" : {
"rotation" : [ 0.0, 0.0, "-17.19 * math.cos(query.life_time * 229.2) - 22.92" ]
},
"tail" : {
"rotation" : [ "-5.73 * math.cos(query.life_time * 343.8)", 0.0, 0.0 ]
},
"tail_fin" : {
"rotation" : [ "-11.46 * math.cos(query.life_time * 343.8)", 0.0, 0.0 ]
}
}
}
}
}