Added new elevator door controls

This commit is contained in:
Henry Faber 2026-05-16 19:28:37 +01:00
parent 189823e8bf
commit 7b9f720c9a
5 changed files with 51 additions and 5 deletions

View file

@ -1,8 +1,10 @@
[gd_scene format=3 uid="uid://cwwexawpj46hk"]
[ext_resource type="Texture2D" uid="uid://ckg5b7xtyk4nc" path="res://images/elevator_button.png" id="1_sy1b3"]
[ext_resource type="Texture2D" uid="uid://dhpru87ff8hpx" path="res://images/button_door_controlst.png" id="1_sy1b3"]
[node name="ElevatorButton" type="Sprite3D" unique_id=1758559173]
billboard = 1
texture_filter = 0
texture = ExtResource("1_sy1b3")
hframes = 2
vframes = 2

View file

@ -15,5 +15,4 @@ hframes = 10
vframes = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1160314093]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.361)
shape = SubResource("BoxShape3D_4clxj")

View file

@ -38,10 +38,14 @@ unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -8.351522)
[node name="VirtuaHand" parent="ElevatorSafeZone" unique_id=1811028460 instance=ExtResource("5_71j4m")]
transform = Transform3D(3, 0, 0, 0, 3, 0, 0, 0, 3, -2.798057, 0.5557984, -0.674366)
transform = Transform3D(3, 0, 0, 0, 3, 0, 0, 0, 3, -2.61384, 0.554309, -0.67426205)
[node name="ElevatorButton" parent="ElevatorSafeZone" unique_id=1758559173 instance=ExtResource("5_qfnet")]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -3.267, 2.258, -0.39)
[node name="DoorOpen" parent="ElevatorSafeZone" unique_id=1758559173 instance=ExtResource("5_qfnet")]
transform = Transform3D(0.35, 0, 0, 0, 0.35, 0, 0, 0, 0.35, -3.082784, 2.258, -0.39000034)
[node name="DoorClose" parent="ElevatorSafeZone" unique_id=513173058 instance=ExtResource("5_qfnet")]
transform = Transform3D(0.35, 0, 0, 0, 0.35, 0, 0, 0, 0.35, -3.6393127, 2.258, -0.39000034)
frame = 1
[node name="Elevator" parent="ElevatorSafeZone" unique_id=242258467 instance=ExtResource("4_k0juu")]
transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 3, -0.061756134)