//This JSON was modified by AgentMindStorm (@agentms_). Please do not use this document without permission.
{
  "format_version": "1.8.0",
  "animations": {
    "animation.bat_v1.flying": {
      "loop": true,
      "bones": {
        "body": {
          "position": [ 0.0, "math.cos(query.life_time * 343.774) * 1.6", 0.0 ],
          "rotation": [ "45.0 - math.cos(query.life_time * 1489.6) * 8.59", 0.0, 0.0 ]
        },
        "head": {
          "position": [ "-this", "math.cos(query.life_time * 343.774) * 1.6 - this", "-this" ],
          "rotation": [ "query.target_x_rotation", "query.target_y_rotation", 0.0 ]
        },
        "leftwing": {
          "position": [ "-this", "-this", "-this" ],
          "rotation": [ 0.0, "math.cos(query.life_time * 1489.6) * -45.0", 0.0 ]
        },
        "leftwingtip": {
          "rotation": [ 0.0, "math.cos(query.life_time * 1489.6) * -22.0", 0.0 ]
        },
        "rightwing": {
          "position": [ "-this", "-this", "-this" ],
          "rotation": [ 0.0, "math.cos(query.life_time * 1489.6) * 45.0", 0.0 ]
        },
        "rightwingtip": {
          "rotation": [ 0.0, "math.cos(query.life_time * 1489.6) * 22.0", 0.0 ]
        }
      }
    },
    "animation.bat_v1.resting": {
      "loop": true,
      "bones": {
        "body": {
          "position": [ 0.0, -0.035, 0.0 ],
          "rotation": [ 180.0, 0.0, 0.0 ]
        },
        "head": {
          "position": [ 0.0, -0.035, 0.0 ],
          "rotation": [ "query.target_x_rotation", "180.0f - query.target_y_rotation", 180.0 ]
        },
        "leftwing": {
          "position": [ 3.0, 0.0, 3.0 ],
          "rotation": [ -9.0, 72.0, 0.0 ]
        },
        "leftwingtip": {
          "rotation": [ 0.0, 99.0, 0.0 ]
        },
        "rightwing": {
          "position": [ -3.0, 0.0, 3.0 ],
          "rotation": [ -9.0, -72.0, 0.0 ]
        },
        "rightwingtip": {
          "rotation": [ 0.0, -99.0, 0.0 ]
        }
      }
    }
  }
}
