[gd_scene load_steps=4 format=3 uid="uid://cfunlbp8arnlh"]

[ext_resource type="Script" uid="uid://dqmdowebyfwbq" path="res://scripts/projectile.gd" id="1_tc5n7"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fnprb"]
albedo_color = Color(1, 0.54124093, 0.4767593, 1)
emission_enabled = true
emission = Color(1, 0, 0, 1)
emission_energy_multiplier = 2.69

[sub_resource type="BoxShape3D" id="BoxShape3D_7i3j4"]
size = Vector3(0.15, 0.15, 0.15)

[node name="Bullet" type="RigidBody3D"]
gravity_scale = 0.0
contact_monitor = true
max_contacts_reported = 3
script = ExtResource("1_tc5n7")

[node name="CSGSphere3D" type="CSGSphere3D" parent="."]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
radius = 0.05
radial_segments = 4
rings = 3
material = SubResource("StandardMaterial3D_fnprb")

[node name="HitArea" type="Area3D" parent="."]
collision_layer = 0
collision_mask = 2

[node name="CollisionShape3D" type="CollisionShape3D" parent="HitArea"]
shape = SubResource("BoxShape3D_7i3j4")

[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_7i3j4")

[node name="OmniLight3D" type="OmniLight3D" parent="."]
light_color = Color(1, 0, 0, 1)
light_energy = 1.5
light_indirect_energy = 0.0
light_volumetric_fog_energy = 0.0
light_size = 0.2
omni_range = 0.4

[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_entered" from="HitArea" to="." method="_on_hit_area_entered"]
