diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-09-26 22:45:36 +0100 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-09-26 22:45:36 +0100 |
commit | 5e62cca19ee202353d9ad17c9ee0cfe96671864b (patch) | |
tree | 13a147df96eed2955683ab2ba1b8883ce792f665 /prefabs/exit.tscn | |
parent | f87b54a8a1cb8dba0c8fd85f9e00665a85bdace3 (diff) |
dungeon_manager: Create 3D portal model with texture
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) |