2026-05-16 21:22:56 +00:00
|
|
|
[gd_scene format=3 uid="uid://ufm8kssdh8vx"]
|
|
|
|
|
|
2026-05-17 21:41:28 +00:00
|
|
|
[ext_resource type="Script" uid="uid://bgnro2l31f3y1" path="res://scripts/projectiles/bullet.gd" id="1_yvfy2"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yvfy2"]
|
|
|
|
|
transparency = 3
|
|
|
|
|
alpha_hash_scale = 1.0
|
|
|
|
|
alpha_antialiasing_mode = 0
|
|
|
|
|
emission_enabled = true
|
|
|
|
|
emission = Color(1, 0.9333334, 0, 1)
|
|
|
|
|
|
2026-05-16 21:22:56 +00:00
|
|
|
[node name="Bullet" type="Node3D" unique_id=1536641450]
|
2026-05-17 21:41:28 +00:00
|
|
|
script = ExtResource("1_yvfy2")
|
2026-05-16 21:22:56 +00:00
|
|
|
|
2026-05-17 21:41:28 +00:00
|
|
|
[node name="Line" type="CSGCylinder3D" parent="." unique_id=1706082204]
|
2026-05-16 21:22:56 +00:00
|
|
|
transform = Transform3D(4.371139e-08, -1, 8.742278e-08, -1, -4.371139e-08, 0, 3.821371e-15, -8.742278e-08, -1, 0, 0, 0)
|
|
|
|
|
radius = 0.05
|
|
|
|
|
sides = 5
|
|
|
|
|
smooth_faces = false
|
2026-05-17 21:41:28 +00:00
|
|
|
material = SubResource("StandardMaterial3D_yvfy2")
|
2026-05-16 21:22:56 +00:00
|
|
|
|
|
|
|
|
[node name="Hit" type="RayCast3D" parent="." unique_id=10285465]
|
|
|
|
|
transform = Transform3D(-4.371139e-08, 1, -2.9802322e-08, 0, 2.9802322e-08, 1, 1, 4.371139e-08, -1.3027009e-15, 0, 0, 0)
|
2026-05-17 21:41:28 +00:00
|
|
|
exclude_parent = false
|
2026-05-16 21:22:56 +00:00
|
|
|
target_position = Vector3(0, -500, 0)
|
|
|
|
|
collision_mask = 19
|
2026-05-17 21:41:28 +00:00
|
|
|
hit_from_inside = true
|
2026-05-16 21:22:56 +00:00
|
|
|
debug_shape_custom_color = Color(0, 1, 0, 1)
|