[gd_scene load_steps=8 format=3 uid="uid://c4hecxruavnfm"]

[ext_resource type="Script" path="res://effect/crash/crash.gd" id="1_8bcl0"]
[ext_resource type="Script" path="res://effect/crash/noise.gd" id="1_xh8ax"]
[ext_resource type="Script" path="res://effect/crash/splash_gfx.gd" id="3_mi21g"]

[sub_resource type="Curve" id="Curve_2ymgo"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 2

[sub_resource type="CurveTexture" id="CurveTexture_si023"]
curve = SubResource("Curve_2ymgo")

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_fpdqd"]
spread = 180.0
initial_velocity_max = 10.0
angle_max = 360.0
scale_curve = SubResource("CurveTexture_si023")
color = Color(1, 1, 0.372549, 1)

[sub_resource type="SphereMesh" id="SphereMesh_f2rrx"]
radial_segments = 4
rings = 1

[node name="Crash" type="Node3D"]
script = ExtResource("1_8bcl0")

[node name="Noise" type="AudioStreamPlayer3D" parent="."]
script = ExtResource("1_xh8ax")

[node name="Splash" type="GPUParticles3D" parent="."]
emitting = false
one_shot = true
explosiveness = 1.0
process_material = SubResource("ParticleProcessMaterial_fpdqd")
draw_pass_1 = SubResource("SphereMesh_f2rrx")
script = ExtResource("3_mi21g")

[connection signal="finished" from="Noise" to="." method="_on_noise_finished"]
[connection signal="finished" from="Splash" to="." method="_on_splash_finished"]
