[gd_scene load_steps=7 format=3 uid="uid://dsasunnk47n8o"]

[ext_resource type="Script" uid="uid://1l7xhsd5prk1" path="res://Scripts/item_card.gd" id="1_f3ek5"]
[ext_resource type="Script" uid="uid://cl2mi4bnpatwk" path="res://Scripts/float_and_spin.gd" id="2_yfdc3"]
[ext_resource type="AudioStream" uid="uid://dknygn5eyuhxt" path="res://Audio/shot1.wav" id="3_om63b"]

[sub_resource type="Curve" id="Curve_qb7ge"]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.5, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 3

[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_bf4ou"]
height = 1.0

[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_ixwn8"]
random_pitch = 1.1
streams_count = 1
stream_0/stream = ExtResource("3_om63b")

[node name="Node3D" type="StaticBody3D"]
collision_layer = 8
collision_mask = 0
script = ExtResource("1_f3ek5")

[node name="model" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.7, 0)
target_position = Vector3(0, -10, 0)
script = ExtResource("2_yfdc3")
float_height = 0.7
curve = SubResource("Curve_qb7ge")

[node name="CSGSphere3D" type="CSGSphere3D" parent="model"]
radius = 0.1

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.7, 0)
shape = SubResource("CapsuleShape3D_bf4ou")

[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.701401, 0)
stream = SubResource("AudioStreamRandomizer_ixwn8")
bus = &"SFX"

[connection signal="finished" from="AudioStreamPlayer3D" to="." method="_on_audio_stream_player_3d_finished"]
