open-fpsz/entities/components/explosive_damage/explosive_damage.tscn
2024-05-12 21:57:44 -04:00

17 lines
630 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://qb5sf7awdeui"]
[ext_resource type="Script" path="res://entities/components/explosive_damage/explosive_damage_component.gd" id="1_alx3x"]
[sub_resource type="SphereShape3D" id="SphereShape3D_1htx7"]
radius = 5.0
[node name="ExplosiveDamage" type="Area3D"]
collision_mask = 13
script = ExtResource("1_alx3x")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_1htx7")
[connection signal="area_shape_entered" from="." to="." method="_on_area_shape_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]