From 0abec8156bd944aa883d544850ee1187219ba943 Mon Sep 17 00:00:00 2001 From: Lucas Fryzek Date: Tue, 17 Sep 2024 22:02:33 +0100 Subject: Initial commit --- prefabs/door.tscn | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 prefabs/door.tscn (limited to 'prefabs/door.tscn') diff --git a/prefabs/door.tscn b/prefabs/door.tscn new file mode 100644 index 0000000..bfe3abe --- /dev/null +++ b/prefabs/door.tscn @@ -0,0 +1,16 @@ +[gd_scene load_steps=3 format=3 uid="uid://lq1udyctjxaj"] + +[ext_resource type="ArrayMesh" uid="uid://wwps1q5d5bo8" path="res://models/round_room_Door.res" id="1_f3lgx"] + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_r75os"] +data = PackedVector3Array(-0.5167, 1.2472, -7, -1.2472, -0.5167, -7, -1.2472, 0.5166, -7, -1.2472, -0.5167, -7, 0.5166, -1.2472, -7, -0.5167, -1.2472, -7, 0.5166, -1.2472, -7, 1.2472, 0.5166, -7, 1.2472, -0.5167, -7, 1.2472, 0.5166, -7, -0.5167, 1.2472, -7, 0.5166, 1.2472, -7, -0.5167, 1.2472, -7, 0.5166, -1.2472, -7, -1.2472, -0.5167, -7, 0.5166, -1.2472, -7, -0.5167, 1.2472, -7, 1.2472, 0.5166, -7) + +[node name="Door" type="Node3D"] + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +mesh = ExtResource("1_f3lgx") + +[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_r75os") -- cgit