2025-06-17 22:22:55 +02:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://c0262d4ffxx1w"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://2fm2civ8ihgs" path="res://Scripts/Actors/ElevatorProxy3D.cs" id="1_dobkm"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://cyr7ypanl8drq" path="res://Scripts/Actors/Elevator3D.cs" id="2_dd34i"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bubtvv3pa06py" path="res://3D/Scenes/Props/Door_3D.tscn" id="3_e08fm"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="Curve3D" id="Curve3D_dobkm"]
|
|
|
|
|
_data = {
|
|
|
|
|
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0),
|
|
|
|
|
"tilts": PackedFloat32Array(0, 0)
|
|
|
|
|
}
|
|
|
|
|
point_count = 2
|
|
|
|
|
|
|
|
|
|
[node name="Door" type="Path3D" node_paths=PackedStringArray("Elevator")]
|
|
|
|
|
curve = SubResource("Curve3D_dobkm")
|
|
|
|
|
script = ExtResource("1_dobkm")
|
2025-06-19 17:55:23 +02:00
|
|
|
TargetName = &""
|
2025-06-17 22:22:55 +02:00
|
|
|
Elevator = NodePath("PathFollow3D")
|
|
|
|
|
|
|
|
|
|
[node name="PathFollow3D" type="PathFollow3D" parent="."]
|
|
|
|
|
rotation_mode = 0
|
|
|
|
|
loop = false
|
|
|
|
|
script = ExtResource("2_dd34i")
|
|
|
|
|
Speed = 1.0
|
|
|
|
|
|
|
|
|
|
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="PathFollow3D"]
|
|
|
|
|
remote_path = NodePath("../../Door3d")
|
|
|
|
|
update_rotation = false
|
|
|
|
|
update_scale = false
|
|
|
|
|
|
|
|
|
|
[node name="Door3d" parent="." instance=ExtResource("3_e08fm")]
|