[gd_scene load_steps=5 format=3 uid="uid://bg1gm56iyns8a"] [ext_resource type="Script" path="res://assets/cars/sparks.gd" id="1_kgyct"] [ext_resource type="Material" uid="uid://c87fkmbkpyqj1" path="res://assets/cars/sparks.tres" id="1_nk1cw"] [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_7tl5g"] spread = 24.096 flatness = 0.15 initial_velocity_min = 0.5 initial_velocity_max = 20.0 gravity = Vector3(0, -0.5, 0) linear_accel_min = 0.01 linear_accel_max = 4.09 scale_min = 0.5 scale_max = 1.5 hue_variation_min = 0.59 hue_variation_max = 0.59 collision_mode = 1 collision_friction = 0.33 collision_bounce = 0.25 [sub_resource type="CylinderMesh" id="CylinderMesh_tbgsw"] material = ExtResource("1_nk1cw") top_radius = 0.02 bottom_radius = 0.02 height = 0.04 radial_segments = 8 [node name="crash" type="GPUParticles3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.98517, 5.57651, 0) emitting = false amount = 100 lifetime = 2.0 one_shot = true explosiveness = 1.0 randomness = 0.1 process_material = SubResource("ParticleProcessMaterial_7tl5g") draw_pass_1 = SubResource("CylinderMesh_tbgsw") script = ExtResource("1_kgyct")