SlimeoosOdyssey/godot/slime_kill_box.tscn

22 lines
846 B
Plaintext
Raw Normal View History

2023-08-20 15:00:54 -06:00
[gd_scene load_steps=4 format=3 uid="uid://d2pvg0f5jtpve"]
[ext_resource type="Script" path="res://slime_kill_box.gd" id="1_pa1cf"]
[ext_resource type="AudioStream" uid="uid://c2cnum2ucjh2q" path="res://Sounds/death.ogg" id="2_ne510"]
[sub_resource type="BoxShape3D" id="BoxShape3D_bvuti"]
size = Vector3(0.5, 0.5, 0.5)
[node name="SlimeKillBox" type="Area3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.29885, 1.93466, -1.55725)
script = ExtResource("1_pa1cf")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.17611, 0)
shape = SubResource("BoxShape3D_bvuti")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_ne510")
volume_db = -10.0
[connection signal="body_entered" from="." to="." method="_on_body_entered"]