32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
[gd_scene load_steps=4 format=3 uid="uid://dx0yaqaccakh"]
|
|
|
|
[ext_resource type="Script" uid="uid://oaxiyitfsq2q" path="res://entities/coffin.gd" id="1_0x4dk"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_0x4dk"]
|
|
size = Vector3(3, 1.2, 1.4)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_cvqjw"]
|
|
size = Vector3(4, 1.4, 2.4)
|
|
|
|
[node name="Coffin" type="StaticBody3D"]
|
|
script = ExtResource("1_0x4dk")
|
|
|
|
[node name="Mesh" type="CSGBox3D" parent="."]
|
|
size = Vector3(3, 1.2, 1.4)
|
|
|
|
[node name="Collision" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("BoxShape3D_0x4dk")
|
|
|
|
[node name="DropoffZone" type="Area3D" parent="."]
|
|
|
|
[node name="Collision" type="CollisionShape3D" parent="DropoffZone"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
|
|
shape = SubResource("BoxShape3D_cvqjw")
|
|
|
|
[node name="DamageTimer" type="Timer" parent="."]
|
|
|
|
[node name="RespawnPoint" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0.75, 0)
|
|
|
|
[connection signal="body_entered" from="DropoffZone" to="." method="_on_dropoff"]
|
|
[connection signal="timeout" from="DamageTimer" to="." method="_on_damage_timer_timeout"]
|