[gd_scene load_steps=18 format=2]

[ext_resource path="res://characters/male_2018.escn" type="PackedScene" id=1]
[ext_resource path="res://characters/character.gd" type="Script" id=2]

[sub_resource type="AnimationNodeAdd2" id=1]
filters = [ ".:breast_L", ".:breast_R", ".:spine01", ".:spine02", ".:spine03", ".:spine04", ".:spine05" ]

[sub_resource type="AnimationNodeAnimation" id=2]
animation = "breathe-additive-loop"

[sub_resource type="AnimationNodeAdd2" id=3]

[sub_resource type="AnimationNodeAnimation" id=4]
animation = "additive-wiggling-loop"

[sub_resource type="AnimationNodeAnimation" id=5]
animation = "stand"

[sub_resource type="AnimationNodeBlendTree" id=6]
nodes/Add2/node = SubResource( 3 )
nodes/Add2/position = Vector2( 460, 100 )
nodes/Animation/node = SubResource( 5 )
nodes/Animation/position = Vector2( 144, 86 )
"nodes/Animation 2/node" = SubResource( 4 )
"nodes/Animation 2/position" = Vector2( 100, 240 )
nodes/output/position = Vector2( 880, 120 )
node_connections = [ "output", 0, "Add2", "Add2", 0, "Animation", "Add2", 1, "Animation 2" ]

[sub_resource type="AnimationNodeAnimation" id=7]
animation = "walk-loop"

[sub_resource type="AnimationNodeTimeScale" id=8]

[sub_resource type="AnimationNodeBlendTree" id=9]
nodes/Animation/node = SubResource( 7 )
nodes/Animation/position = Vector2( 240, 80 )
nodes/output/position = Vector2( 800, 140 )
nodes/speed/node = SubResource( 8 )
nodes/speed/position = Vector2( 560, 100 )
node_connections = [ "speed", 0, "Animation", "output", 0, "speed" ]

[sub_resource type="AnimationNodeStateMachineTransition" id=10]

[sub_resource type="AnimationNodeStateMachineTransition" id=11]

[sub_resource type="AnimationNodeStateMachine" id=12]
states/Idle/node = SubResource( 6 )
states/Idle/position = Vector2( 279, -672 )
states/Walk/node = SubResource( 9 )
states/Walk/position = Vector2( 489, -640 )
transitions = [ "Idle", "Walk", SubResource( 10 ), "Walk", "Idle", SubResource( 11 ) ]
start_node = "Idle"
graph_offset = Vector2( 0, -767 )

[sub_resource type="AnimationNodeBlendTree" id=13]
nodes/Add2/node = SubResource( 1 )
nodes/Add2/position = Vector2( 320, 180 )
nodes/Animation/node = SubResource( 2 )
nodes/Animation/position = Vector2( 60, 300 )
nodes/base/node = SubResource( 12 )
nodes/base/position = Vector2( 40, 140 )
nodes/output/position = Vector2( 760, 100 )
node_connections = [ "output", 0, "Add2", "Add2", 0, "base", "Add2", 1, "Animation" ]

[sub_resource type="AnimationNodeStateMachinePlayback" id=14]

[sub_resource type="CapsuleShape" id=15]
radius = 0.2
height = 1.3

[node name="male_2018" type="KinematicBody"]
script = ExtResource( 2 )

[node name="male_2018" parent="." instance=ExtResource( 1 )]

[node name="male_g_2018" parent="male_2018" index="0"]
bones/110/bound_children = [ NodePath("item_carry") ]

[node name="item_carry" type="BoneAttachment" parent="male_2018/male_g_2018" index="9"]
transform = Transform( 0.579234, -0.742538, -0.336341, 0.736249, 0.299448, 0.606851, -0.349893, -0.59914, 0.720144, 0.334017, 1.00794, -0.175007 )
bone_name = "wrist_R"

[node name="ball_carry" type="Spatial" parent="male_2018/male_g_2018/item_carry"]

[node name="AnimationTree" type="AnimationTree" parent="male_2018"]
tree_root = SubResource( 13 )
anim_player = NodePath("../male_g_2018/AnimationPlayer")
active = true
root_motion_track = NodePath(".:root")
parameters/Add2/add_amount = 0.5
parameters/base/playback = SubResource( 14 )
parameters/base/Idle/Add2/add_amount = 0.3
parameters/base/Walk/speed/scale = 1.4

[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.857803, 0 )
shape = SubResource( 15 )

[editable path="male_2018"]
