{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.silverlabs_nat.butterfly_wings.flying_state": {
      "initial_state": "default",
      "states": {
        "default": {
          "transitions": [
            { "idle": "q.is_on_ground" },
            { "flying_state": "!q.is_on_ground && !q.is_in_water" }
          ]
        },
        "idle": {
          "transitions": [
            { "flying_start_cooldown": "!q.is_on_ground && !q.is_in_water" }
          ]
        },
        "flying_start_cooldown": {
          "transitions": [
            { "idle": "q.is_on_ground || q.is_in_water" },
            { "flying_state": "q.state_time > 0.4" }
          ]
        },
        "flying_state": {
          "on_entry": ["v.is_flying = 1.0;"],
          "on_exit": ["v.is_flying = 0.0;"],
          "transitions": [
            { "idle": "q.is_on_ground || q.is_in_water" }
          ]
        }
      }
    },
    "controller.animation.silverlabs_nat.butterfly_wings.general": {
      "initial_state": "default",
      "states": {
        "default": {
          "animations": ["idle"],
          "transitions": [
            { "flying": "v.is_flying" }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true
        },
        "flying": {
          "animations": ["flying"],
          "transitions": [
            { "default": "!v.is_flying" }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true
        }
      }
    }
  }
}
