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/bat.animation.json
Mike Ammerlaan cedc6e4171 v1.20.50.3
2023-12-05 10:02:40 -08:00

114 lines
2.2 KiB
JSON

{
"format_version": "1.8.0",
"animations": {
"animation.bat.resting": {
"loop": true,
"bones": {
"Head": {
"rotation": ["query.target_x_rotation", "180.0f - query.target_y_rotation", 180],
"position": [0, 0.3, 0]
},
"body": {
"rotation": [180, 0, 0],
"position": [0, 0.3, 0]
},
"feet": {
"rotation": [0, 0, 0]
},
"rightWing": {
"rotation": [0, -10, 0],
"position": [0, 0, 1]
},
"rightWingTip": {
"rotation": [0, -120, 0]
},
"leftWing": {
"rotation": [0, 10, 0],
"position": [0, 0, 1]
},
"leftWingTip": {
"rotation": [0, 120, 0]
}
}
},
"animation.bat.flying": {
"loop": true,
"animation_length": 0.5,
"bones": {
"Head": {
"rotation": {
"0.0": [0, 0, 0],
"0.125": [20, 0, 0],
"0.5": [0, 0, 0]
},
"position": {
"0.0": [0, 0, 0],
"0.125": [0, 2, 0],
"0.25": [0, 1, 0],
"0.375": [0, 0, 0],
"0.4583": [0, -1, 0],
"0.5": [0, 0, 0]
}
},
"body": {
"rotation": {
"0.0": [40, 0, 0],
"0.25": [52.5, 0, 0],
"0.5": [40, 0, 0]
},
"position": {
"0.0": [0, 0, 0],
"0.125": [0, 2, 0],
"0.25": [0, 1, 0],
"0.375": [0, 0, 0],
"0.4583": [0, -1, 0],
"0.5": [0, 0, 0]
}
},
"feet": {
"rotation": {
"0.0": [10, 0, 0],
"0.125": [-21.25, 0, 0],
"0.25": [-12.5, 0, 0],
"0.5": [10, 0, 0]
}
},
"rightWing": {
"rotation": {
"0.0": [0, 85, 0],
"0.125": [0, -55, 0],
"0.25": [0, 50, 0],
"0.375": [0, 70, 0],
"0.5": [0, 85, 0]
}
},
"rightWingTip": {
"rotation": {
"0.0": [0, 10.5, 0],
"0.0417": [0, 65.5, 0],
"0.2083": [0, -135, 0],
"0.5": [0, 10.5, 0]
}
},
"leftWing": {
"rotation": {
"0.0": [0, -85, 0],
"0.125": [0, 55, 0],
"0.25": [0, -50, 0],
"0.375": [0, -70, 0],
"0.5": [0, -85, 0]
}
},
"leftWingTip": {
"rotation": {
"0.0": [0, -10.5, 0],
"0.0417": [0, -65.5, 0],
"0.2083": [0, 135, 0],
"0.5": [0, -10.5, 0]
}
}
}
}
}
}