122 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			122 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
| 	"format_version": "1.8.0",
 | |
| 	"animations": {
 | |
| 		"animation.togedemaru.ground_idle": {
 | |
| 			"loop": true,
 | |
| 			"bones": {
 | |
| 				"tail": {
 | |
| 					"rotation": ["math.sin(query.anim_time*90*4)*6", "math.sin(query.anim_time*90*4)*6", 0]
 | |
| 				},
 | |
| 				"body": {
 | |
| 					"rotation": ["0 - math.cos(query.anim_time * 90 * 4) * -3", 0, 0],
 | |
| 					"position": [0, "0-math.cos(query.anim_time * 90 * 8-90) * 0.1", 0]
 | |
| 				},
 | |
| 				"ear_left": {
 | |
| 					"rotation": ["0 - math.cos(query.anim_time * 90 * 4) * -5", 0, 0]
 | |
| 				},
 | |
| 				"ear_right": {
 | |
| 					"rotation": ["0 - math.cos(query.anim_time * 90 * 4) * -5", 0, 0]
 | |
| 				},
 | |
| 				"hand_left": {
 | |
| 					"rotation": [0, 0, "0 - math.cos(query.anim_time * 90 * 4) * 3"]
 | |
| 				},
 | |
| 				"hand_right": {
 | |
| 					"rotation": [0, 0, "0 - math.cos(query.anim_time * 90 * 4) * -3"]
 | |
| 				},
 | |
| 				"bone4": {
 | |
| 					"rotation": [0, "0 - math.cos(query.anim_time * 90 * 4) * -3", 0]
 | |
| 				},
 | |
| 				"bone5": {
 | |
| 					"rotation": [0, "0 - math.cos(query.anim_time * 90 * 4) * -3", 0]
 | |
| 				},
 | |
| 				"bone6": {
 | |
| 					"rotation": [0, "0 - math.cos(query.anim_time * 90 * 4) * -3", 0]
 | |
| 				},
 | |
| 				"bone2": {
 | |
| 					"rotation": [0, "0 - math.cos(query.anim_time * 90 * 4) * 3", 0]
 | |
| 				},
 | |
| 				"bone3": {
 | |
| 					"rotation": [0, "0 - math.cos(query.anim_time * 90 * 4) * 3", 0]
 | |
| 				},
 | |
| 				"bone": {
 | |
| 					"rotation": [0, "0 - math.cos(query.anim_time * 90 * 4) * 3", 0]
 | |
| 				}
 | |
| 			}
 | |
| 		},
 | |
| 		"animation.togedemaru.ground_walk": {
 | |
| 			"loop": true,
 | |
| 			"bones": {
 | |
| 				"tail": {
 | |
| 					"rotation": [125, 0, 0],
 | |
| 					"position": [0, 0, 2.425]
 | |
| 				},
 | |
| 				"nose": {
 | |
| 					"rotation": [7.5, 0, 0]
 | |
| 				},
 | |
| 				"bone4": {
 | |
| 					"rotation": [0, 17.5, 0]
 | |
| 				},
 | |
| 				"bone5": {
 | |
| 					"rotation": [0, 17.5, 0]
 | |
| 				},
 | |
| 				"bone6": {
 | |
| 					"rotation": [0, 17.5, 0]
 | |
| 				},
 | |
| 				"bone8": {
 | |
| 					"rotation": [0, -12.5, 0]
 | |
| 				},
 | |
| 				"bone7": {
 | |
| 					"rotation": [0, 12.5, 0]
 | |
| 				},
 | |
| 				"bone2": {
 | |
| 					"rotation": [0, -17.5, 0]
 | |
| 				},
 | |
| 				"bone3": {
 | |
| 					"rotation": [0, -17.5, 0]
 | |
| 				},
 | |
| 				"bone": {
 | |
| 					"rotation": [0, -17.5, 0]
 | |
| 				},
 | |
| 				"leg_left": {
 | |
| 					"rotation": [-7.5, 0, 0]
 | |
| 				},
 | |
| 				"leg_right": {
 | |
| 					"rotation": [-7.5, 0, 0]
 | |
| 				},
 | |
| 				"eyelid": {
 | |
| 					"position": [0, 0, -0.075]
 | |
| 				},
 | |
| 				"eyelid2": {
 | |
| 					"position": [0, 0, -0.075]
 | |
| 				},
 | |
| 				"togedemaru": {
 | |
| 					"rotation": ["(q.anim_time*90*10.05)", 0, "math.sin(q.anim_time*90*5)*3"],
 | |
| 					"position": [
 | |
| 						"math.sin(q.anim_time*90*2.5)*0.5",
 | |
| 						"math.clamp((math.sin(q.anim_time*90*4*2.5-90)*1+1)*5,0,2.5)+math.clamp((math.sin(q.anim_time*90*4*2.5-90)*1+1)*0.5,0,2)",
 | |
| 						0
 | |
| 					]
 | |
| 				}
 | |
| 			}
 | |
| 		},
 | |
| 		"animation.togedemaru.blink": {
 | |
| 			"animation_length": 0.25,
 | |
| 			"bones": {
 | |
| 				"eyelid": {
 | |
| 					"position": {
 | |
| 						"0.0": [0, 0, -0.075],
 | |
| 						"0.1667": [0, 0, -0.075],
 | |
| 						"0.2083": [0, 0, -0.02]
 | |
| 					}
 | |
| 				},
 | |
| 				"eyelid2": {
 | |
| 					"position": {
 | |
| 						"0.0": [0, 0, -0.075],
 | |
| 						"0.1667": [0, 0, -0.075],
 | |
| 						"0.2083": [0, 0, -0.02]
 | |
| 					}
 | |
| 				}
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| } |