Files
MovementTests/scenes/enemies/explosion.tscn
Minimata 2fdc9c7ca8
Some checks failed
Create tag and build when new code gets to main / BumpTag (push) Has been cancelled
Create tag and build when new code gets to main / Test (push) Has been cancelled
Create tag and build when new code gets to main / Export (push) Has been cancelled
instanciating explosion on slam
2026-01-26 16:34:18 +01:00

35 lines
1.2 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://duju3atqgltkg"]
[ext_resource type="Script" uid="uid://cnlu64l7oxvv3" path="res://scenes/enemies/Explosion.cs" id="1_82hkh"]
[ext_resource type="Script" uid="uid://jitubgv6judn" path="res://components/damage/RDamage.cs" id="2_hys74"]
[sub_resource type="Resource" id="Resource_ffdh3"]
script = ExtResource("2_hys74")
DamageDealt = 5.0
DamageType = 3
metadata/_custom_type_script = "uid://jitubgv6judn"
[sub_resource type="SphereShape3D" id="SphereShape3D_82hkh"]
radius = 1.0
[sub_resource type="SphereMesh" id="SphereMesh_82hkh"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hys74"]
transparency = 1
cull_mode = 2
albedo_color = Color(0.9607843, 0.27058825, 0, 0.7176471)
[node name="Explosion" type="Area3D"]
collision_layer = 0
collision_mask = 16
monitorable = false
script = ExtResource("1_82hkh")
RDamage = SubResource("Resource_ffdh3")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_82hkh")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("SphereMesh_82hkh")
surface_material_override/0 = SubResource("StandardMaterial3D_hys74")