[gd_scene load_steps=6 format=3 uid="uid://6du64wi28yi6"]

[ext_resource type="PackedScene" uid="uid://cxpnql8hhru8j" path="res://game/Bomb/BombMesh.tscn" id="1"]
[ext_resource type="Script" path="res://game/Bomb/Bomb.gd" id="2"]

[sub_resource type="SphereShape3D" id="1"]
radius = 0.154

[sub_resource type="Animation" id="2"]
resource_name = "Spawn"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.8),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(0, 0, -2), Vector3(0, 0, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.8),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(0.1, 0.1, 0.1), Vector3(1, 1, 1)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".:rotation_degrees")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.8),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(0, 45, 180), Vector3(0, 0, 0)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_4a1di"]
_data = {
"Spawn": SubResource("2")
}

[node name="Bomb" type="Node3D"]
script = ExtResource("2")

[node name="BombAnimation" type="Node3D" parent="."]
transform = Transform3D(-0.0707107, 6.18172e-09, 0.0707107, -8.74228e-09, -0.1, 0, 0.0707107, -6.18172e-09, 0.0707107, 0, 0, -2)

[node name="Mesh" parent="BombAnimation" instance=ExtResource("1")]
transform = Transform3D(0.18, 0, 0, 0, 0.18, 0, 0, 0, 0.18, 0, 0, 0)

[node name="Area3D" type="Area3D" parent="." groups=["bomb"]]
collision_layer = 16
collision_mask = 16
monitoring = false

[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("1")
disabled = true

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../BombAnimation")
libraries = {
"": SubResource("AnimationLibrary_4a1di")
}
