Unlockable door implementation (currently opens with regular attack)

This commit is contained in:
2026-01-21 00:50:21 -08:00
parent aa9e14c498
commit 9897acffac
4 changed files with 59 additions and 8 deletions

View File

@@ -1,6 +1,19 @@
[gd_scene load_steps=2 format=3 uid="uid://bn5egdkg03f5d"]
[gd_scene load_steps=3 format=3 uid="uid://bn5egdkg03f5d"]
[ext_resource type="Script" uid="uid://bxs2sugex0p0i" path="res://src/map/UnlockableDoor.cs" id="4_om2kn"]
[node name="Node3D" type="Node3D"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ng7o6"]
height = 4.92334
radius = 3.72363
[node name="UnlockableDoor" type="Node3D"]
script = ExtResource("4_om2kn")
[node name="UnlockArea" type="Area3D" parent="."]
unique_name_in_owner = true
collision_layer = 6144
collision_mask = 6144
[node name="CollisionShape3D" type="CollisionShape3D" parent="UnlockArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0334928, -0.760235, 0.758362)
shape = SubResource("CylinderShape3D_ng7o6")