diff options
Diffstat (limited to 'prefabs/exit.tscn')
-rw-r--r-- | prefabs/exit.tscn | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/prefabs/exit.tscn b/prefabs/exit.tscn index c6da7d7..33fa94e 100644 --- a/prefabs/exit.tscn +++ b/prefabs/exit.tscn @@ -1,10 +1,6 @@ -[gd_scene load_steps=4 format=3 uid="uid://bby6nvx5y03x"] +[gd_scene load_steps=3 format=3 uid="uid://bby6nvx5y03x"] -[sub_resource type="BoxMesh" id="BoxMesh_80n3v"] -size = Vector3(1, 0.1, 1) - -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yj1cw"] -albedo_color = Color(0, 0, 0.988235, 1) +[ext_resource type="PackedScene" uid="uid://qk10uduhdjr1" path="res://models/portal.blend" id="1_qaf38"] [sub_resource type="BoxShape3D" id="BoxShape3D_5ln3u"] @@ -12,10 +8,8 @@ albedo_color = Color(0, 0, 0.988235, 1) collision_layer = 4 collision_mask = 4 -[node name="MeshInstance3D" type="MeshInstance3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0) -mesh = SubResource("BoxMesh_80n3v") -surface_material_override/0 = SubResource("StandardMaterial3D_yj1cw") +[node name="portal" parent="." instance=ExtResource("1_qaf38")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0, -0.5) [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) |