{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.nunchaku.wield_controller": {
      "initial_state": "first_person",
      "states": {
				"first_person": {
					"animations": [ "wield_first_person" ],
					"transitions": [
						{ "third_person": "!c.is_first_person" },
            { "first_person.attack": "c.owning_entity -> v.attack_time" }
					]
				},
				"third_person": {
					"animations": [ "wield_third_person" ],
					"transitions": [
						{ "first_person": "c.is_first_person" },
            { "third_person.attack": "c.owning_entity -> v.attack_time" }
					]
				},
        "third_person.attack": {
          "animations": [ "attack_third_person" ],
          "transitions": [
            { "third_person": "!c.is_first_person && q.all_animations_finished" },
            { "first_person": "c.is_first_person" }
          ]
        },
        "first_person.attack": {
          "animations": [ "attack_first_person" ],
          "transitions": [
            { "first_person": "c.is_first_person && q.all_animations_finished" },
            { "third_person": "!c.is_first_person" }
          ]
        }
			}
    },
    "controller.animation.player.nunchaku.attack": {
      "initial_state": "default",
      "states": {
        "default": { "transitions": [ { "attacking": "v.attack_time" } ] },
        "attacking": {
          "animations": [
            { "attack_third_person.nunchaku": "!v.is_first_person" }
          ],
          "transitions": [ { "default": "query.any_animation_finished" } ],
          "blend_transition": 0.1,
          "blend_via_shortest_path": true
        }
      }
    }
  }
}