diff options
Diffstat (limited to 'prefabs/exit.tscn')
-rw-r--r-- | prefabs/exit.tscn | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/prefabs/exit.tscn b/prefabs/exit.tscn new file mode 100644 index 0000000..c6da7d7 --- /dev/null +++ b/prefabs/exit.tscn @@ -0,0 +1,22 @@ +[gd_scene load_steps=4 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) + +[sub_resource type="BoxShape3D" id="BoxShape3D_5ln3u"] + +[node name="Exit" type="Area3D"] +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="CollisionShape3D" type="CollisionShape3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) +shape = SubResource("BoxShape3D_5ln3u") |