From 9ef4e5a5790a36a1e940b01575e8676d9de7f4e6 Mon Sep 17 00:00:00 2001 From: Christen Lofland Date: Wed, 9 Aug 2023 17:28:20 -0500 Subject: [PATCH] Initial Commit. - Four working rooms. --- .gitattributes | 2 + .gitignore | 2 + assets/Godot Test Room 1.bin | Bin 0 -> 3968 bytes assets/Godot Test Room 1.gltf | 1 + assets/Godot Test Room 1.gltf.import | 32 ++ assets/Godot Test Room 2.bin | Bin 0 -> 3968 bytes assets/Godot Test Room 2.gltf | 1 + assets/Godot Test Room 2.gltf.import | 32 ++ assets/Godot Test Room 3.bin | Bin 0 -> 3968 bytes assets/Godot Test Room 3.gltf | 1 + assets/Godot Test Room 3.gltf.import | 43 ++ assets/Godot Test Room 4.bin | Bin 0 -> 3968 bytes assets/Godot Test Room 4.gltf | 1 + assets/Godot Test Room 4.gltf.import | 43 ++ assets/textures/grey_floor.tres | 7 + assets/textures/white_walls.tres | 6 + export_presets.cfg | 37 ++ icon.svg | 1 + icon.svg.import | 37 ++ main.gd | 42 ++ main.tscn | 25 + player/head.gd | 44 ++ player/head.tscn | 9 + player/movement_controller.gd | 61 +++ player/movement_controller.tscn | 11 + player/player.tscn | 12 + player/sprint.gd | 28 ++ project.godot | 90 ++++ rooms/godot_test_room_1.tscn | 670 ++++++++++++++++++++++++++ rooms/godot_test_room_2.tscn | 672 +++++++++++++++++++++++++++ rooms/room_3.tscn | 24 + rooms/room_4.tscn | 24 + 32 files changed, 1958 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 assets/Godot Test Room 1.bin create mode 100644 assets/Godot Test Room 1.gltf create mode 100644 assets/Godot Test Room 1.gltf.import create mode 100644 assets/Godot Test Room 2.bin create mode 100644 assets/Godot Test Room 2.gltf create mode 100644 assets/Godot Test Room 2.gltf.import create mode 100644 assets/Godot Test Room 3.bin create mode 100644 assets/Godot Test Room 3.gltf create mode 100644 assets/Godot Test Room 3.gltf.import create mode 100644 assets/Godot Test Room 4.bin create mode 100644 assets/Godot Test Room 4.gltf create mode 100644 assets/Godot Test Room 4.gltf.import create mode 100644 assets/textures/grey_floor.tres create mode 100644 assets/textures/white_walls.tres create mode 100644 export_presets.cfg create mode 100644 icon.svg create mode 100644 icon.svg.import create mode 100644 main.gd create mode 100644 main.tscn create mode 100644 player/head.gd create mode 100644 player/head.tscn create mode 100644 player/movement_controller.gd create mode 100644 player/movement_controller.tscn create mode 100644 player/player.tscn create mode 100644 player/sprint.gd create mode 100644 project.godot create mode 100644 rooms/godot_test_room_1.tscn create mode 100644 rooms/godot_test_room_2.tscn create mode 100644 rooms/room_3.tscn create mode 100644 rooms/room_4.tscn diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4709183 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Godot 4+ specific ignores +.godot/ diff --git a/assets/Godot Test Room 1.bin b/assets/Godot Test Room 1.bin new file mode 100644 index 0000000000000000000000000000000000000000..04f1a4e44fe032879eb753bef5d1e9ac34ad2f74 GIT binary patch literal 3968 zcmcJPF>(_@5Jg+Ev|1ZN0z#2Fpq!CWC2U*I`&X^? zN;PZBQ?)yP|NQR$(=*cDm-kz<-S+$MH$Tj5`|IO7|6Ugi-{DQ*_6Z;Q;8Sd`|NQe? z!CxQ$9z6dh=|?qp13$?__SWag`A=ilpUn2||JFT&*$bE<9$d?#WuVs}kA`^Fg;!l+ z>Bsn?Pvsf&obw1%0}s-J8N*t=#`|wP58dpz_5Qr|UWpgp9U>2W#`n%klQH+_u#G$! z<89yZ8SB20KkLEDFCPEmg^Sm~xj}Z?h_FPWlcv>{c|H0#w2h18d#gkJ!Sm&EH z8KY4TGtT!%zd`CsLtSBbY2by&c==I&>BZ;!oX=Dky)gNOhdg&czwzOH(0<1>yf$jO-6r-*t%KWX1Jd+GgLxX=HqncAZo-!H9U&$TsbbV^T=m#+JjipX^;#258B4G7XSbN literal 0 HcmV?d00001 diff --git a/assets/Godot Test Room 1.gltf b/assets/Godot Test Room 1.gltf new file mode 100644 index 0000000..2abed05 --- /dev/null +++ b/assets/Godot Test Room 1.gltf @@ -0,0 +1 @@ +{"accessors":[{"bufferView":0,"byteOffset":0,"componentType":5126,"count":3,"max":[2.693431457505,3.5,-9.306568542495],"min":[2.0,2.51933982822,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":36,"componentType":5126,"count":4,"max":[2.0,3.5,-8.5],"min":[0.5,2.51933982822,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":84,"componentType":5126,"count":3,"max":[1.193431457505,3.5,-7.8065685424949999],"min":[0.5,2.51933982822,-8.5],"type":"VEC3"},{"bufferView":0,"byteOffset":120,"componentType":5126,"count":4,"max":[2.693431457505,3.5,-7.8065685424949999],"min":[0.5,3.5,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":168,"componentType":5126,"count":4,"max":[2.693431457505,3.5,-7.8065685424949999],"min":[0.5,2.51933982822,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":216,"componentType":5126,"count":4,"max":[10.0,4.0,-10.5],"min":[0.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":264,"componentType":5126,"count":4,"max":[0.0,4.0,0.0],"min":[0.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":312,"componentType":5126,"count":4,"max":[10.0,4.0,0.0],"min":[0.0,3.5,0.0],"type":"VEC3"},{"bufferView":0,"byteOffset":360,"componentType":5126,"count":4,"max":[10.0,4.0,0.0],"min":[10.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":408,"componentType":5126,"count":4,"max":[10.0,4.0,0.0],"min":[0.0,4.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":456,"componentType":5126,"count":4,"max":[10.0,3.5,0.0],"min":[0.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":504,"componentType":5126,"count":13,"max":[10.0,0.5,-0.5],"min":[0.5,0.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":660,"componentType":5126,"count":4,"max":[9.5,3.5,-10.0],"min":[6.0,0.5,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":708,"componentType":5126,"count":4,"max":[0.5,3.5,-0.5],"min":[0.5,0.5,-8.5],"type":"VEC3"},{"bufferView":0,"byteOffset":756,"componentType":5126,"count":4,"max":[0.0,3.5,0.0],"min":[0.0,0.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":804,"componentType":5126,"count":4,"max":[10.0,3.5,0.0],"min":[0.0,0.0,0.0],"type":"VEC3"},{"bufferView":0,"byteOffset":852,"componentType":5126,"count":8,"max":[10.0,3.5,0.0],"min":[10.0,0.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":948,"componentType":5126,"count":8,"max":[10.0,3.5,-10.5],"min":[0.0,0.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1044,"componentType":5126,"count":4,"max":[10.0,0.0,0.0],"min":[0.0,0.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1092,"componentType":5126,"count":11,"max":[10.0,3.5,0.0],"min":[0.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1224,"componentType":5126,"count":4,"max":[4.0,3.5,-10.0],"min":[2.0,0.5,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1272,"componentType":5126,"count":4,"max":[4.0,3.5,-10.0],"min":[4.0,0.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1320,"componentType":5126,"count":4,"max":[2.0,3.5,-8.5],"min":[0.5,0.5,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1368,"componentType":5126,"count":4,"max":[6.0,3.5,-10.0],"min":[6.0,0.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1416,"componentType":5126,"count":6,"max":[10.0,3.5,-5.5],"min":[6.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1488,"componentType":5126,"count":4,"max":[9.5,3.5,-5.5],"min":[9.5,0.5,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1536,"componentType":5126,"count":4,"max":[10.0,3.5,-5.5],"min":[9.5,0.5,-5.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1584,"componentType":5126,"count":4,"max":[10.0,3.5,-3.5],"min":[9.5,0.5,-3.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1632,"componentType":5126,"count":4,"max":[9.5,3.5,-0.5],"min":[9.5,0.5,-3.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1680,"componentType":5126,"count":4,"max":[9.5,3.5,-0.5],"min":[0.5,0.5,-0.5],"type":"VEC3"},{"bufferView":1,"byteOffset":0,"componentType":5126,"count":3,"type":"VEC3"},{"bufferView":1,"byteOffset":36,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":84,"componentType":5126,"count":3,"type":"VEC3"},{"bufferView":1,"byteOffset":120,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":168,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":216,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":264,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":312,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":360,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":408,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":456,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":504,"componentType":5126,"count":13,"type":"VEC3"},{"bufferView":1,"byteOffset":660,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":708,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":756,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":804,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":852,"componentType":5126,"count":8,"type":"VEC3"},{"bufferView":1,"byteOffset":948,"componentType":5126,"count":8,"type":"VEC3"},{"bufferView":1,"byteOffset":1044,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1092,"componentType":5126,"count":11,"type":"VEC3"},{"bufferView":1,"byteOffset":1224,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1272,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1320,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1368,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1416,"componentType":5126,"count":6,"type":"VEC3"},{"bufferView":1,"byteOffset":1488,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1536,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1584,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1632,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1680,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":2,"byteOffset":0,"componentType":5123,"count":3,"type":"SCALAR"},{"bufferView":2,"byteOffset":8,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":20,"componentType":5123,"count":3,"type":"SCALAR"},{"bufferView":2,"byteOffset":28,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":40,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":52,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":64,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":76,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":88,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":100,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":112,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":124,"componentType":5123,"count":33,"type":"SCALAR"},{"bufferView":2,"byteOffset":192,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":204,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":216,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":228,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":240,"componentType":5123,"count":18,"type":"SCALAR"},{"bufferView":2,"byteOffset":276,"componentType":5123,"count":18,"type":"SCALAR"},{"bufferView":2,"byteOffset":312,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":324,"componentType":5123,"count":27,"type":"SCALAR"},{"bufferView":2,"byteOffset":380,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":392,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":404,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":416,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":428,"componentType":5123,"count":12,"type":"SCALAR"},{"bufferView":2,"byteOffset":452,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":464,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":476,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":488,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":500,"componentType":5123,"count":6,"type":"SCALAR"}],"asset":{"generator":"Open CASCADE Technology 7.6 [dev.opencascade.org]","version":"2.0"},"bufferViews":[{"buffer":0,"byteLength":1728,"byteOffset":0,"byteStride":12,"target":34962},{"buffer":0,"byteLength":1728,"byteOffset":1728,"byteStride":12,"target":34962},{"buffer":0,"byteLength":512,"byteOffset":3456,"target":34963}],"buffers":[{"byteLength":3968,"uri":"Godot Test Room 1.bin"}],"materials":[{"name":"mat_0","pbrMetallicRoughness":{"baseColorFactor":[0.20863686501979829,0.20863686501979829,0.23839759826660157,1.0]},"doubleSided":true},{"name":"mat_1","pbrMetallicRoughness":{"baseColorFactor":[0.02955683507025242,0.02955683507025242,0.6307571530342102,1.0]},"doubleSided":true},{"name":"mat_2","pbrMetallicRoughness":{"baseColorFactor":[0.0,0.0,0.0,1.0]},"doubleSided":true},{"name":"mat_3","pbrMetallicRoughness":{"baseColorFactor":[0.6104955673217773,0.6104955673217773,0.6104955673217773,1.0]},"doubleSided":true},{"name":"mat_4","pbrMetallicRoughness":{"baseColorFactor":[1.0,1.0,1.0,1.0]},"doubleSided":true},{"name":"mat_5","pbrMetallicRoughness":{"baseColorFactor":[0.0,1.0,0.6653873324394226,1.0]},"doubleSided":true}],"meshes":[{"name":"root","primitives":[{"attributes":{"NORMAL":30,"POSITION":0},"indices":60,"material":0,"mode":4},{"attributes":{"NORMAL":31,"POSITION":1},"indices":61,"material":0,"mode":4},{"attributes":{"NORMAL":32,"POSITION":2},"indices":62,"material":0,"mode":4},{"attributes":{"NORMAL":33,"POSITION":3},"indices":63,"material":0,"mode":4},{"attributes":{"NORMAL":34,"POSITION":4},"indices":64,"material":1,"mode":4}]},{"name":"root001","primitives":[{"attributes":{"NORMAL":35,"POSITION":5},"indices":65,"material":0,"mode":4},{"attributes":{"NORMAL":36,"POSITION":6},"indices":66,"material":0,"mode":4},{"attributes":{"NORMAL":37,"POSITION":7},"indices":67,"material":0,"mode":4},{"attributes":{"NORMAL":38,"POSITION":8},"indices":68,"material":0,"mode":4},{"attributes":{"NORMAL":39,"POSITION":9},"indices":69,"material":0,"mode":4},{"attributes":{"NORMAL":40,"POSITION":10},"indices":70,"material":2,"mode":4}]},{"name":"root002","primitives":[{"attributes":{"NORMAL":41,"POSITION":11},"indices":71,"material":3,"mode":4},{"attributes":{"NORMAL":42,"POSITION":12},"indices":72,"material":4,"mode":4},{"attributes":{"NORMAL":43,"POSITION":13},"indices":73,"material":4,"mode":4},{"attributes":{"NORMAL":44,"POSITION":14},"indices":74,"material":0,"mode":4},{"attributes":{"NORMAL":45,"POSITION":15},"indices":75,"material":0,"mode":4},{"attributes":{"NORMAL":46,"POSITION":16},"indices":76,"material":0,"mode":4},{"attributes":{"NORMAL":47,"POSITION":17},"indices":77,"material":0,"mode":4},{"attributes":{"NORMAL":48,"POSITION":18},"indices":78,"material":0,"mode":4},{"attributes":{"NORMAL":49,"POSITION":19},"indices":79,"material":0,"mode":4},{"attributes":{"NORMAL":50,"POSITION":20},"indices":80,"material":4,"mode":4},{"attributes":{"NORMAL":51,"POSITION":21},"indices":81,"material":5,"mode":4},{"attributes":{"NORMAL":52,"POSITION":22},"indices":82,"material":4,"mode":4},{"attributes":{"NORMAL":53,"POSITION":23},"indices":83,"material":5,"mode":4},{"attributes":{"NORMAL":54,"POSITION":24},"indices":84,"material":0,"mode":4},{"attributes":{"NORMAL":55,"POSITION":25},"indices":85,"material":4,"mode":4},{"attributes":{"NORMAL":56,"POSITION":26},"indices":86,"material":5,"mode":4},{"attributes":{"NORMAL":57,"POSITION":27},"indices":87,"material":5,"mode":4},{"attributes":{"NORMAL":58,"POSITION":28},"indices":88,"material":4,"mode":4},{"attributes":{"NORMAL":59,"POSITION":29},"indices":89,"material":4,"mode":4}]}],"nodes":[{"children":[1,2,3],"name":"root003"},{"mesh":0,"name":"root"},{"mesh":1,"name":"root001"},{"mesh":2,"name":"root002"}],"scene":0,"scenes":[{"nodes":[0]}]} \ No newline at end of file diff --git a/assets/Godot Test Room 1.gltf.import b/assets/Godot Test Room 1.gltf.import new file mode 100644 index 0000000..6655ed7 --- /dev/null +++ b/assets/Godot Test Room 1.gltf.import @@ -0,0 +1,32 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://i5osn5ep3eva" +path="res://.godot/imported/Godot Test Room 1.gltf-ff1728847435ccf1223ee7fef94b0a68.scn" + +[deps] + +source_file="res://assets/Godot Test Room 1.gltf" +dest_files=["res://.godot/imported/Godot Test Room 1.gltf-ff1728847435ccf1223ee7fef94b0a68.scn"] + +[params] + +nodes/root_type="Node3D" +nodes/root_name="Scene Root" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +import_script/path="" +_subresources={} +gltf/embedded_image_handling=1 diff --git a/assets/Godot Test Room 2.bin b/assets/Godot Test Room 2.bin new file mode 100644 index 0000000000000000000000000000000000000000..4baa20f798f4f2e970048b209db610c1795c496a GIT binary patch literal 3968 zcmcgsL6Xxj5S%!U69^CBXl@)RZrrGfc?ea@Px1_o`ANL|gR1=lAE0}rmS;_}NC)ti zqt>XWr)QLnnN2@GznjeLiWlpHI;haBldzA*L0k&gJRBR}HY z;*%G1iKQ0Ek@1M1 z5EnmU`k_8Ovo1NprEbvo?=7^+iM>Q@Gqf_tF}CDuhS(PDwHR1E;>S6QqM36q9QiS> z9O-Z`e3|dhN*vCL&n=(lX^9j2U0|74Sh>;!#XWH4!}zU7@q2Sy_f8GfqMtu7?$Hz{ zj(3zX?@`}@h&c!OCocLcO~!o=IWAn{I4&5Rs8cXFo(E4hC;TvF%$4!1?{VN6@rcDK zaikD?9E*AZTyjJFGB0z8n01RLux2F=^@Zg}|98w)U2^<>SA6BJb)K>x#)+jPthoH> z?id%QpS2Fp8IK%d#$#^6zxq#%8`l@`HE>$+6`JBd!_>of#cNk$`lA-#8k}USYn;Le= z8a3XXSMk5g-fHv~PWWx)@0kDJ@b~B*uK(_8eziR=o^JQhdT*-Vn)f#!>Zet=_^JAB z>TH9Aaok!$Ti+9pBTqVGq{E;2y2*R)m}CA)Ozy(ro_RW#Qrf5Nq&y(Ew*l|Y4xV+u zZVyb=1Kz=oh#%}V-dFfMVts?i5gwynazxij`MJlm+u^K3r5>xH%77~7pF6}iKs-yI zJeB{%rtaQzW3PiNZjsq}7h7}_o9Y?BBpL@=Vd+ws|G{e*xC&Y|C XvwN>cc5=hcqOTZFcO`w+N>lm`pk=8@ literal 0 HcmV?d00001 diff --git a/assets/Godot Test Room 2.gltf b/assets/Godot Test Room 2.gltf new file mode 100644 index 0000000..4ee3143 --- /dev/null +++ b/assets/Godot Test Room 2.gltf @@ -0,0 +1 @@ +{"accessors":[{"bufferView":0,"byteOffset":0,"componentType":5126,"count":3,"max":[2.693431457505,3.5,-0.5],"min":[2.0,2.51933982822,-1.193431457505],"type":"VEC3"},{"bufferView":0,"byteOffset":36,"componentType":5126,"count":4,"max":[2.0,3.5,-0.5],"min":[0.5,2.51933982822,-2.0],"type":"VEC3"},{"bufferView":0,"byteOffset":84,"componentType":5126,"count":3,"max":[1.193431457505,3.5,-2.0],"min":[0.5,2.51933982822,-2.693431457505],"type":"VEC3"},{"bufferView":0,"byteOffset":120,"componentType":5126,"count":4,"max":[2.693431457505,3.5,-0.5],"min":[0.5,3.5,-2.693431457505],"type":"VEC3"},{"bufferView":0,"byteOffset":168,"componentType":5126,"count":4,"max":[2.693431457505,3.5,-0.5],"min":[0.5,2.51933982822,-2.693431457505],"type":"VEC3"},{"bufferView":0,"byteOffset":216,"componentType":5126,"count":4,"max":[10.0,4.0,0.0],"min":[0.0,3.5,0.0],"type":"VEC3"},{"bufferView":0,"byteOffset":264,"componentType":5126,"count":4,"max":[0.0,4.0,0.0],"min":[0.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":312,"componentType":5126,"count":4,"max":[10.0,4.0,-10.5],"min":[0.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":360,"componentType":5126,"count":4,"max":[10.0,4.0,0.0],"min":[10.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":408,"componentType":5126,"count":4,"max":[10.0,4.0,0.0],"min":[0.0,4.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":456,"componentType":5126,"count":4,"max":[10.0,3.5,0.0],"min":[0.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":504,"componentType":5126,"count":13,"max":[10.0,0.5,0.0],"min":[0.5,0.5,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":660,"componentType":5126,"count":4,"max":[9.5,3.5,-0.5],"min":[6.0,0.5,-0.5],"type":"VEC3"},{"bufferView":0,"byteOffset":708,"componentType":5126,"count":4,"max":[0.5,3.5,-2.0],"min":[0.5,0.5,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":756,"componentType":5126,"count":4,"max":[0.0,3.5,0.0],"min":[0.0,0.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":804,"componentType":5126,"count":4,"max":[10.0,3.5,-10.5],"min":[0.0,0.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":852,"componentType":5126,"count":8,"max":[10.0,3.5,0.0],"min":[10.0,0.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":948,"componentType":5126,"count":8,"max":[10.0,3.5,0.0],"min":[0.0,0.0,0.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1044,"componentType":5126,"count":4,"max":[10.0,0.0,0.0],"min":[0.0,0.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1092,"componentType":5126,"count":11,"max":[10.0,3.5,0.0],"min":[0.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1224,"componentType":5126,"count":4,"max":[4.0,3.5,-0.5],"min":[2.0,0.5,-0.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1272,"componentType":5126,"count":4,"max":[4.0,3.5,0.0],"min":[4.0,0.5,-0.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1320,"componentType":5126,"count":4,"max":[2.0,3.5,-0.5],"min":[0.5,0.5,-2.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1368,"componentType":5126,"count":4,"max":[6.0,3.5,0.0],"min":[6.0,0.5,-0.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1416,"componentType":5126,"count":6,"max":[10.0,3.5,0.0],"min":[6.0,3.5,-5.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1488,"componentType":5126,"count":4,"max":[9.5,3.5,-0.5],"min":[9.5,0.5,-5.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1536,"componentType":5126,"count":4,"max":[10.0,3.5,-5.0],"min":[9.5,0.5,-5.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1584,"componentType":5126,"count":4,"max":[10.0,3.5,-7.0],"min":[9.5,0.5,-7.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1632,"componentType":5126,"count":4,"max":[9.5,3.5,-7.0],"min":[9.5,0.5,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1680,"componentType":5126,"count":4,"max":[9.5,3.5,-10.0],"min":[0.5,0.5,-10.0],"type":"VEC3"},{"bufferView":1,"byteOffset":0,"componentType":5126,"count":3,"type":"VEC3"},{"bufferView":1,"byteOffset":36,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":84,"componentType":5126,"count":3,"type":"VEC3"},{"bufferView":1,"byteOffset":120,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":168,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":216,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":264,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":312,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":360,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":408,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":456,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":504,"componentType":5126,"count":13,"type":"VEC3"},{"bufferView":1,"byteOffset":660,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":708,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":756,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":804,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":852,"componentType":5126,"count":8,"type":"VEC3"},{"bufferView":1,"byteOffset":948,"componentType":5126,"count":8,"type":"VEC3"},{"bufferView":1,"byteOffset":1044,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1092,"componentType":5126,"count":11,"type":"VEC3"},{"bufferView":1,"byteOffset":1224,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1272,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1320,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1368,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1416,"componentType":5126,"count":6,"type":"VEC3"},{"bufferView":1,"byteOffset":1488,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1536,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1584,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1632,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1680,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":2,"byteOffset":0,"componentType":5123,"count":3,"type":"SCALAR"},{"bufferView":2,"byteOffset":8,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":20,"componentType":5123,"count":3,"type":"SCALAR"},{"bufferView":2,"byteOffset":28,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":40,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":52,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":64,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":76,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":88,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":100,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":112,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":124,"componentType":5123,"count":33,"type":"SCALAR"},{"bufferView":2,"byteOffset":192,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":204,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":216,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":228,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":240,"componentType":5123,"count":18,"type":"SCALAR"},{"bufferView":2,"byteOffset":276,"componentType":5123,"count":18,"type":"SCALAR"},{"bufferView":2,"byteOffset":312,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":324,"componentType":5123,"count":27,"type":"SCALAR"},{"bufferView":2,"byteOffset":380,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":392,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":404,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":416,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":428,"componentType":5123,"count":12,"type":"SCALAR"},{"bufferView":2,"byteOffset":452,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":464,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":476,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":488,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":500,"componentType":5123,"count":6,"type":"SCALAR"}],"asset":{"generator":"Open CASCADE Technology 7.6 [dev.opencascade.org]","version":"2.0"},"bufferViews":[{"buffer":0,"byteLength":1728,"byteOffset":0,"byteStride":12,"target":34962},{"buffer":0,"byteLength":1728,"byteOffset":1728,"byteStride":12,"target":34962},{"buffer":0,"byteLength":512,"byteOffset":3456,"target":34963}],"buffers":[{"byteLength":3968,"uri":"Godot Test Room 2.bin"}],"materials":[{"name":"mat_0","pbrMetallicRoughness":{"baseColorFactor":[0.20863686501979829,0.20863686501979829,0.23839759826660157,1.0]},"doubleSided":true},{"name":"mat_1","pbrMetallicRoughness":{"baseColorFactor":[0.02955683507025242,0.02955683507025242,0.6307571530342102,1.0]},"doubleSided":true},{"name":"mat_2","pbrMetallicRoughness":{"baseColorFactor":[0.0,0.0,0.0,1.0]},"doubleSided":true},{"name":"mat_3","pbrMetallicRoughness":{"baseColorFactor":[0.6104955673217773,0.6104955673217773,0.6104955673217773,1.0]},"doubleSided":true},{"name":"mat_4","pbrMetallicRoughness":{"baseColorFactor":[1.0,1.0,1.0,1.0]},"doubleSided":true},{"name":"mat_5","pbrMetallicRoughness":{"baseColorFactor":[0.0,1.0,0.6653873324394226,1.0]},"doubleSided":true}],"meshes":[{"name":"root","primitives":[{"attributes":{"NORMAL":30,"POSITION":0},"indices":60,"material":0,"mode":4},{"attributes":{"NORMAL":31,"POSITION":1},"indices":61,"material":0,"mode":4},{"attributes":{"NORMAL":32,"POSITION":2},"indices":62,"material":0,"mode":4},{"attributes":{"NORMAL":33,"POSITION":3},"indices":63,"material":0,"mode":4},{"attributes":{"NORMAL":34,"POSITION":4},"indices":64,"material":1,"mode":4}]},{"name":"root001","primitives":[{"attributes":{"NORMAL":35,"POSITION":5},"indices":65,"material":0,"mode":4},{"attributes":{"NORMAL":36,"POSITION":6},"indices":66,"material":0,"mode":4},{"attributes":{"NORMAL":37,"POSITION":7},"indices":67,"material":0,"mode":4},{"attributes":{"NORMAL":38,"POSITION":8},"indices":68,"material":0,"mode":4},{"attributes":{"NORMAL":39,"POSITION":9},"indices":69,"material":0,"mode":4},{"attributes":{"NORMAL":40,"POSITION":10},"indices":70,"material":2,"mode":4}]},{"name":"root002","primitives":[{"attributes":{"NORMAL":41,"POSITION":11},"indices":71,"material":3,"mode":4},{"attributes":{"NORMAL":42,"POSITION":12},"indices":72,"material":4,"mode":4},{"attributes":{"NORMAL":43,"POSITION":13},"indices":73,"material":4,"mode":4},{"attributes":{"NORMAL":44,"POSITION":14},"indices":74,"material":0,"mode":4},{"attributes":{"NORMAL":45,"POSITION":15},"indices":75,"material":0,"mode":4},{"attributes":{"NORMAL":46,"POSITION":16},"indices":76,"material":0,"mode":4},{"attributes":{"NORMAL":47,"POSITION":17},"indices":77,"material":0,"mode":4},{"attributes":{"NORMAL":48,"POSITION":18},"indices":78,"material":0,"mode":4},{"attributes":{"NORMAL":49,"POSITION":19},"indices":79,"material":0,"mode":4},{"attributes":{"NORMAL":50,"POSITION":20},"indices":80,"material":4,"mode":4},{"attributes":{"NORMAL":51,"POSITION":21},"indices":81,"material":5,"mode":4},{"attributes":{"NORMAL":52,"POSITION":22},"indices":82,"material":4,"mode":4},{"attributes":{"NORMAL":53,"POSITION":23},"indices":83,"material":5,"mode":4},{"attributes":{"NORMAL":54,"POSITION":24},"indices":84,"material":0,"mode":4},{"attributes":{"NORMAL":55,"POSITION":25},"indices":85,"material":4,"mode":4},{"attributes":{"NORMAL":56,"POSITION":26},"indices":86,"material":5,"mode":4},{"attributes":{"NORMAL":57,"POSITION":27},"indices":87,"material":5,"mode":4},{"attributes":{"NORMAL":58,"POSITION":28},"indices":88,"material":4,"mode":4},{"attributes":{"NORMAL":59,"POSITION":29},"indices":89,"material":4,"mode":4}]}],"nodes":[{"children":[1,2,3],"name":"root003"},{"mesh":0,"name":"root"},{"mesh":1,"name":"root001"},{"mesh":2,"name":"root002"}],"scene":0,"scenes":[{"nodes":[0]}]} \ No newline at end of file diff --git a/assets/Godot Test Room 2.gltf.import b/assets/Godot Test Room 2.gltf.import new file mode 100644 index 0000000..d77df39 --- /dev/null +++ b/assets/Godot Test Room 2.gltf.import @@ -0,0 +1,32 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://botpuvofhbxgv" +path="res://.godot/imported/Godot Test Room 2.gltf-51a11228dbb3149d1c0367113150a27d.scn" + +[deps] + +source_file="res://assets/Godot Test Room 2.gltf" +dest_files=["res://.godot/imported/Godot Test Room 2.gltf-51a11228dbb3149d1c0367113150a27d.scn"] + +[params] + +nodes/root_type="Node3D" +nodes/root_name="Scene Root" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +import_script/path="" +_subresources={} +gltf/embedded_image_handling=0 diff --git a/assets/Godot Test Room 3.bin b/assets/Godot Test Room 3.bin new file mode 100644 index 0000000000000000000000000000000000000000..8adffbf1150038a2cbcfd115879bc51514e9345e GIT binary patch literal 3968 zcmbu9J#yPH6ojEaiiupNaH({;K)TFWxrtieLPtvBUh)Zi0@t3@snTUXKr22mA_ufF zLt?qyx7Y_zN-6z({qc2|()KwCr?k)b@#VMX{qE`QOXfSx{aN3Nzd!52T`hdkx6e;+ zcUklJ^7nMD?`p3#olndVHIa{Nk)g}E)w&1u@J-pk^aW;^2b;GZ&U$0(%|{Nunn%lswf1*r-W%h?{-+0B#}2pb&za|YIPHoiVrt1nZN&Ne z!B1DjzfR&9;v?Rl3I`uCdGIH{eT==Xd9USfDfSXEeOUwcJ}5!P%nbAN1!fqN!Nb@Z z^KrH&a>jTv&_o>fC*r(6XFYf*=ShC{1hYT*A9~mtDK2_2!+DI|W8`^f-WX30dHpQH8}9vsiem~+hEh%^!R_hiTu-rq^mTE^z-%a{z&#~2NHsBO=9FJEx<1jFNV z&>XSXHIFA49?U>*-q?Kp9;AhjxW5*DQNwdz5649<V!Fjo-n-wboM)RGRP0ro+HMEwWWvBYm*%p*?}$=@=dBOX=gb(sn%MBzSz}9*-43i+3&K`JPqwN-c&4g aN4?a2nbqFWxtQ(@;<V_%5Jg9_w6Yx^z@^fq2-2ksAo(BxlG3-(F;eCb?xo}cIY9t-LF!x}{|z}> ziqZ;8!y=&N=jWf#nIWOaUw_wTU)G<0e%qSa!|zXTwKm7_3Ew|tywf_cH20x*zK`wo zPk-)Q|KaOq|=MH%ey}gaj3LkLX#hzDPdtR7P>W?s* zRo{oe<@<45X`-$Jy)>*#ec(Nx^9lc&f8I&JkdNbhZs4&zZvZX7`aQtWhf|uQ|2O-% zRjg@Vox%8rrUh^D&9MgC)?3yH06@LnKtB;$2oj%?^HZoYfi0a zH2b&Q*Guv*{Js7Q^|rNca$$_^?^s=O9q$|Zm|N>;(Kpvn++E8#)bd(-_qxcNDgGPd ze~ACXLEK)`YxSYEmz>ME)P27=pONorVpCf#`I=4aO7lbr?#h{|ICc|jc@(`sUKX=nO&nyn?+KJo13;Z7#MyfXe literal 0 HcmV?d00001 diff --git a/assets/Godot Test Room 4.gltf b/assets/Godot Test Room 4.gltf new file mode 100644 index 0000000..1e67565 --- /dev/null +++ b/assets/Godot Test Room 4.gltf @@ -0,0 +1 @@ +{"accessors":[{"bufferView":0,"byteOffset":0,"componentType":5126,"count":3,"max":[8.0,3.5,-0.5],"min":[7.3065685424949999,2.51933982822,-1.193431457505],"type":"VEC3"},{"bufferView":0,"byteOffset":36,"componentType":5126,"count":4,"max":[9.5,3.5,-0.5],"min":[8.0,2.51933982822,-2.0],"type":"VEC3"},{"bufferView":0,"byteOffset":84,"componentType":5126,"count":3,"max":[9.5,3.5,-2.0],"min":[8.806568542495,2.51933982822,-2.693431457505],"type":"VEC3"},{"bufferView":0,"byteOffset":120,"componentType":5126,"count":4,"max":[9.5,3.5,-0.5],"min":[7.3065685424949999,3.5,-2.693431457505],"type":"VEC3"},{"bufferView":0,"byteOffset":168,"componentType":5126,"count":4,"max":[9.5,3.5,-0.5],"min":[7.3065685424949999,2.51933982822,-2.693431457505],"type":"VEC3"},{"bufferView":0,"byteOffset":216,"componentType":5126,"count":4,"max":[10.0,4.0,0.0],"min":[0.0,3.5,0.0],"type":"VEC3"},{"bufferView":0,"byteOffset":264,"componentType":5126,"count":4,"max":[10.0,4.0,0.0],"min":[10.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":312,"componentType":5126,"count":4,"max":[10.0,4.0,-10.5],"min":[0.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":360,"componentType":5126,"count":4,"max":[0.0,4.0,0.0],"min":[0.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":408,"componentType":5126,"count":4,"max":[10.0,4.0,0.0],"min":[0.0,4.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":456,"componentType":5126,"count":4,"max":[10.0,3.5,0.0],"min":[0.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":504,"componentType":5126,"count":13,"max":[9.5,0.5,0.0],"min":[0.0,0.5,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":660,"componentType":5126,"count":4,"max":[4.0,3.5,-0.5],"min":[0.5,0.5,-0.5],"type":"VEC3"},{"bufferView":0,"byteOffset":708,"componentType":5126,"count":4,"max":[9.5,3.5,-2.0],"min":[9.5,0.5,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":756,"componentType":5126,"count":4,"max":[10.0,3.5,0.0],"min":[10.0,0.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":804,"componentType":5126,"count":4,"max":[10.0,3.5,-10.5],"min":[0.0,0.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":852,"componentType":5126,"count":8,"max":[0.0,3.5,0.0],"min":[0.0,0.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":948,"componentType":5126,"count":8,"max":[10.0,3.5,0.0],"min":[0.0,0.0,0.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1044,"componentType":5126,"count":4,"max":[10.0,0.0,0.0],"min":[0.0,0.0,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1092,"componentType":5126,"count":11,"max":[10.0,3.5,0.0],"min":[0.0,3.5,-10.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1224,"componentType":5126,"count":4,"max":[8.0,3.5,-0.5],"min":[6.0,0.5,-0.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1272,"componentType":5126,"count":4,"max":[6.0,3.5,0.0],"min":[6.0,0.5,-0.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1320,"componentType":5126,"count":4,"max":[9.5,3.5,-0.5],"min":[8.0,0.5,-2.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1368,"componentType":5126,"count":4,"max":[4.0,3.5,0.0],"min":[4.0,0.5,-0.5],"type":"VEC3"},{"bufferView":0,"byteOffset":1416,"componentType":5126,"count":6,"max":[4.0,3.5,0.0],"min":[0.0,3.5,-5.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1488,"componentType":5126,"count":4,"max":[0.5,3.5,-0.5],"min":[0.5,0.5,-5.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1536,"componentType":5126,"count":4,"max":[0.5,3.5,-5.0],"min":[0.0,0.5,-5.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1584,"componentType":5126,"count":4,"max":[0.5,3.5,-7.0],"min":[0.0,0.5,-7.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1632,"componentType":5126,"count":4,"max":[0.5,3.5,-7.0],"min":[0.5,0.5,-10.0],"type":"VEC3"},{"bufferView":0,"byteOffset":1680,"componentType":5126,"count":4,"max":[9.5,3.5,-10.0],"min":[0.5,0.5,-10.0],"type":"VEC3"},{"bufferView":1,"byteOffset":0,"componentType":5126,"count":3,"type":"VEC3"},{"bufferView":1,"byteOffset":36,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":84,"componentType":5126,"count":3,"type":"VEC3"},{"bufferView":1,"byteOffset":120,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":168,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":216,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":264,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":312,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":360,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":408,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":456,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":504,"componentType":5126,"count":13,"type":"VEC3"},{"bufferView":1,"byteOffset":660,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":708,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":756,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":804,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":852,"componentType":5126,"count":8,"type":"VEC3"},{"bufferView":1,"byteOffset":948,"componentType":5126,"count":8,"type":"VEC3"},{"bufferView":1,"byteOffset":1044,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1092,"componentType":5126,"count":11,"type":"VEC3"},{"bufferView":1,"byteOffset":1224,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1272,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1320,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1368,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1416,"componentType":5126,"count":6,"type":"VEC3"},{"bufferView":1,"byteOffset":1488,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1536,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1584,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1632,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":1,"byteOffset":1680,"componentType":5126,"count":4,"type":"VEC3"},{"bufferView":2,"byteOffset":0,"componentType":5123,"count":3,"type":"SCALAR"},{"bufferView":2,"byteOffset":8,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":20,"componentType":5123,"count":3,"type":"SCALAR"},{"bufferView":2,"byteOffset":28,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":40,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":52,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":64,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":76,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":88,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":100,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":112,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":124,"componentType":5123,"count":33,"type":"SCALAR"},{"bufferView":2,"byteOffset":192,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":204,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":216,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":228,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":240,"componentType":5123,"count":18,"type":"SCALAR"},{"bufferView":2,"byteOffset":276,"componentType":5123,"count":18,"type":"SCALAR"},{"bufferView":2,"byteOffset":312,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":324,"componentType":5123,"count":27,"type":"SCALAR"},{"bufferView":2,"byteOffset":380,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":392,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":404,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":416,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":428,"componentType":5123,"count":12,"type":"SCALAR"},{"bufferView":2,"byteOffset":452,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":464,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":476,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":488,"componentType":5123,"count":6,"type":"SCALAR"},{"bufferView":2,"byteOffset":500,"componentType":5123,"count":6,"type":"SCALAR"}],"asset":{"generator":"Open CASCADE Technology 7.6 [dev.opencascade.org]","version":"2.0"},"bufferViews":[{"buffer":0,"byteLength":1728,"byteOffset":0,"byteStride":12,"target":34962},{"buffer":0,"byteLength":1728,"byteOffset":1728,"byteStride":12,"target":34962},{"buffer":0,"byteLength":512,"byteOffset":3456,"target":34963}],"buffers":[{"byteLength":3968,"uri":"Godot Test Room 4.bin"}],"materials":[{"name":"mat_0","pbrMetallicRoughness":{"baseColorFactor":[0.20863686501979829,0.20863686501979829,0.23839759826660157,1.0]},"doubleSided":true},{"name":"mat_1","pbrMetallicRoughness":{"baseColorFactor":[0.02955683507025242,0.02955683507025242,0.6307571530342102,1.0]},"doubleSided":true},{"name":"mat_2","pbrMetallicRoughness":{"baseColorFactor":[0.0,0.0,0.0,1.0]},"doubleSided":true},{"name":"mat_3","pbrMetallicRoughness":{"baseColorFactor":[0.6104955673217773,0.6104955673217773,0.6104955673217773,1.0]},"doubleSided":true},{"name":"mat_4","pbrMetallicRoughness":{"baseColorFactor":[1.0,1.0,1.0,1.0]},"doubleSided":true},{"name":"mat_5","pbrMetallicRoughness":{"baseColorFactor":[0.0,1.0,0.6653873324394226,1.0]},"doubleSided":true}],"meshes":[{"name":"root","primitives":[{"attributes":{"NORMAL":30,"POSITION":0},"indices":60,"material":0,"mode":4},{"attributes":{"NORMAL":31,"POSITION":1},"indices":61,"material":0,"mode":4},{"attributes":{"NORMAL":32,"POSITION":2},"indices":62,"material":0,"mode":4},{"attributes":{"NORMAL":33,"POSITION":3},"indices":63,"material":0,"mode":4},{"attributes":{"NORMAL":34,"POSITION":4},"indices":64,"material":1,"mode":4}]},{"name":"root001","primitives":[{"attributes":{"NORMAL":35,"POSITION":5},"indices":65,"material":0,"mode":4},{"attributes":{"NORMAL":36,"POSITION":6},"indices":66,"material":0,"mode":4},{"attributes":{"NORMAL":37,"POSITION":7},"indices":67,"material":0,"mode":4},{"attributes":{"NORMAL":38,"POSITION":8},"indices":68,"material":0,"mode":4},{"attributes":{"NORMAL":39,"POSITION":9},"indices":69,"material":0,"mode":4},{"attributes":{"NORMAL":40,"POSITION":10},"indices":70,"material":2,"mode":4}]},{"name":"root002","primitives":[{"attributes":{"NORMAL":41,"POSITION":11},"indices":71,"material":3,"mode":4},{"attributes":{"NORMAL":42,"POSITION":12},"indices":72,"material":4,"mode":4},{"attributes":{"NORMAL":43,"POSITION":13},"indices":73,"material":4,"mode":4},{"attributes":{"NORMAL":44,"POSITION":14},"indices":74,"material":0,"mode":4},{"attributes":{"NORMAL":45,"POSITION":15},"indices":75,"material":0,"mode":4},{"attributes":{"NORMAL":46,"POSITION":16},"indices":76,"material":0,"mode":4},{"attributes":{"NORMAL":47,"POSITION":17},"indices":77,"material":0,"mode":4},{"attributes":{"NORMAL":48,"POSITION":18},"indices":78,"material":0,"mode":4},{"attributes":{"NORMAL":49,"POSITION":19},"indices":79,"material":0,"mode":4},{"attributes":{"NORMAL":50,"POSITION":20},"indices":80,"material":4,"mode":4},{"attributes":{"NORMAL":51,"POSITION":21},"indices":81,"material":5,"mode":4},{"attributes":{"NORMAL":52,"POSITION":22},"indices":82,"material":4,"mode":4},{"attributes":{"NORMAL":53,"POSITION":23},"indices":83,"material":5,"mode":4},{"attributes":{"NORMAL":54,"POSITION":24},"indices":84,"material":0,"mode":4},{"attributes":{"NORMAL":55,"POSITION":25},"indices":85,"material":4,"mode":4},{"attributes":{"NORMAL":56,"POSITION":26},"indices":86,"material":5,"mode":4},{"attributes":{"NORMAL":57,"POSITION":27},"indices":87,"material":5,"mode":4},{"attributes":{"NORMAL":58,"POSITION":28},"indices":88,"material":4,"mode":4},{"attributes":{"NORMAL":59,"POSITION":29},"indices":89,"material":4,"mode":4}]}],"nodes":[{"children":[1,2,3],"name":"root003"},{"mesh":0,"name":"root"},{"mesh":1,"name":"root001"},{"mesh":2,"name":"root002"}],"scene":0,"scenes":[{"nodes":[0]}]} \ No newline at end of file diff --git a/assets/Godot Test Room 4.gltf.import b/assets/Godot Test Room 4.gltf.import new file mode 100644 index 0000000..2644fa2 --- /dev/null +++ b/assets/Godot Test Room 4.gltf.import @@ -0,0 +1,43 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://d2cru2533cod2" +path="res://.godot/imported/Godot Test Room 4.gltf-2de6b932472fd7c10ff53ddc4a8e9f1d.scn" + +[deps] + +source_file="res://assets/Godot Test Room 4.gltf" +dest_files=["res://.godot/imported/Godot Test Room 4.gltf-2de6b932472fd7c10ff53ddc4a8e9f1d.scn"] + +[params] + +nodes/root_type="Node3D" +nodes/root_name="Scene Root" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +import_script/path="" +_subresources={ +"materials": { +"mat_3": { +"use_external/enabled": true, +"use_external/path": "res://assets/textures/grey_floor.tres" +}, +"mat_4": { +"use_external/enabled": true, +"use_external/path": "res://assets/textures/white_walls.tres" +} +} +} +gltf/embedded_image_handling=1 diff --git a/assets/textures/grey_floor.tres b/assets/textures/grey_floor.tres new file mode 100644 index 0000000..dcd2a1f --- /dev/null +++ b/assets/textures/grey_floor.tres @@ -0,0 +1,7 @@ +[gd_resource type="StandardMaterial3D" format=3 uid="uid://dnosvjyjosgty"] + +[resource] +resource_name = "mat_3" +cull_mode = 2 +vertex_color_use_as_albedo = true +albedo_color = Color(0.215686, 0.215686, 0.215686, 1) diff --git a/assets/textures/white_walls.tres b/assets/textures/white_walls.tres new file mode 100644 index 0000000..7221273 --- /dev/null +++ b/assets/textures/white_walls.tres @@ -0,0 +1,6 @@ +[gd_resource type="StandardMaterial3D" format=3 uid="uid://00ovpb55yb80"] + +[resource] +resource_name = "mat_4" +cull_mode = 2 +vertex_color_use_as_albedo = true diff --git a/export_presets.cfg b/export_presets.cfg new file mode 100644 index 0000000..9263dce --- /dev/null +++ b/export_presets.cfg @@ -0,0 +1,37 @@ +[preset.0] + +name="Web" +platform="Web" +runnable=true +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../godot_web_export/test.html" +encryption_include_filters="" +encryption_exclude_filters="" +encrypt_pck=false +encrypt_directory=false + +[preset.0.options] + +custom_template/debug="" +custom_template/release="" +variant/extensions_support=false +vram_texture_compression/for_desktop=true +vram_texture_compression/for_mobile=true +html/export_icon=true +html/custom_html_shell="" +html/head_include="" +html/canvas_resize_policy=2 +html/focus_canvas_on_start=true +html/experimental_virtual_keyboard=false +progressive_web_app/enabled=false +progressive_web_app/offline_page="" +progressive_web_app/display=1 +progressive_web_app/orientation=0 +progressive_web_app/icon_144x144="" +progressive_web_app/icon_180x180="" +progressive_web_app/icon_512x512="" +progressive_web_app/background_color=Color(0, 0, 0, 1) diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..b370ceb --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ + diff --git a/icon.svg.import b/icon.svg.import new file mode 100644 index 0000000..d21cfa6 --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c0qvg7nssr2gl" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.svg" +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/main.gd b/main.gd new file mode 100644 index 0000000..44d2723 --- /dev/null +++ b/main.gd @@ -0,0 +1,42 @@ +extends Node3D + +#-----------------SCENE--SCRIPT------------------# +# Close your game faster by clicking 'Esc' # +# Change mouse mode by clicking 'Shift + F1' # +#------------------------------------------------# +# Source: https://github.com/Whimfoome/godot-FirstPersonStarter + +@export var fast_close := true + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) + + if !OS.is_debug_build(): + fast_close = false + + if fast_close: + print("** Fast Close enabled in the Main scene **") + print("** 'Esc' to close 'Shift + F1' to release mouse **") + + set_process_input(fast_close) + + +func _input(event: InputEvent) -> void: + if event.is_action_pressed(&"ui_cancel"): + get_tree().quit() # Quits the game + + if event.is_action_pressed(&"change_mouse_input"): + match Input.get_mouse_mode(): + Input.MOUSE_MODE_CAPTURED: + Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE) + Input.MOUSE_MODE_VISIBLE: + Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) + + +# Capture mouse if clicked on the game, needed for HTML5 +# Called when an InputEvent hasn't been consumed by _input() or any GUI item +func _unhandled_input(event: InputEvent) -> void: + if event is InputEventMouseButton: + if event.button_index == MOUSE_BUTTON_LEFT && event.pressed: + Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) diff --git a/main.tscn b/main.tscn new file mode 100644 index 0000000..9283e15 --- /dev/null +++ b/main.tscn @@ -0,0 +1,25 @@ +[gd_scene load_steps=7 format=3 uid="uid://cbs4s4ea2n473"] + +[ext_resource type="Script" path="res://main.gd" id="1_ch8kr"] +[ext_resource type="PackedScene" uid="uid://cnckqfxi8eyk8" path="res://player/player.tscn" id="3_ln387"] +[ext_resource type="PackedScene" uid="uid://dtapn20fi2ley" path="res://rooms/godot_test_room_1.tscn" id="3_m0plg"] +[ext_resource type="PackedScene" uid="uid://dnvj1iaml6w00" path="res://rooms/godot_test_room_2.tscn" id="4_o4ums"] +[ext_resource type="PackedScene" uid="uid://c58icecs1atwu" path="res://rooms/room_3.tscn" id="5_t3vdb"] +[ext_resource type="PackedScene" uid="uid://df11aw1aclv6d" path="res://rooms/room_4.tscn" id="6_6dohf"] + +[node name="Main" type="Node3D"] +script = ExtResource("1_ch8kr") + +[node name="Player" parent="." instance=ExtResource("3_ln387")] +transform = Transform3D(0.0132292, 0, 0.999913, 0, 1, 0, -0.999913, 0, 0.0132292, 5.55883, 1.57649, -4.25007) + +[node name="Godot Test Room 1" parent="." instance=ExtResource("3_m0plg")] + +[node name="Godot Test Room 2" parent="." instance=ExtResource("4_o4ums")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -10.5) + +[node name="Room 3" parent="." instance=ExtResource("5_t3vdb")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, 0) + +[node name="Room 4" parent="." instance=ExtResource("6_6dohf")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, -10.5) diff --git a/player/head.gd b/player/head.gd new file mode 100644 index 0000000..1870059 --- /dev/null +++ b/player/head.gd @@ -0,0 +1,44 @@ +extends Node3D +# Source: https://github.com/Whimfoome/godot-FirstPersonStarter + +@export_node_path("Camera3D") var cam_path := NodePath("Camera3D") +@onready var cam: Camera3D = get_node(cam_path) + +@export var mouse_sensitivity := 2.0 +@export var y_limit := 90.0 +var mouse_axis := Vector2() +var rot := Vector3() + + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + mouse_sensitivity = mouse_sensitivity / 1000 + y_limit = deg_to_rad(y_limit) + + +# Called when there is an input event +func _input(event: InputEvent) -> void: + # Mouse look (only if the mouse is captured). + if event is InputEventMouseMotion and Input.get_mouse_mode() == Input.MOUSE_MODE_CAPTURED: + mouse_axis = event.relative + camera_rotation() + + +# Called every physics tick. 'delta' is constant +func _physics_process(delta: float) -> void: + var joystick_axis := Input.get_vector(&"look_left", &"look_right", + &"look_down", &"look_up") + + if joystick_axis != Vector2.ZERO: + mouse_axis = joystick_axis * 1000.0 * delta + camera_rotation() + + +func camera_rotation() -> void: + # Horizontal mouse look. + rot.y -= mouse_axis.x * mouse_sensitivity + # Vertical mouse look. + rot.x = clamp(rot.x - mouse_axis.y * mouse_sensitivity, -y_limit, y_limit) + + get_owner().rotation.y = rot.y + rotation.x = rot.x diff --git a/player/head.tscn b/player/head.tscn new file mode 100644 index 0000000..4842a53 --- /dev/null +++ b/player/head.tscn @@ -0,0 +1,9 @@ +[gd_scene load_steps=2 format=3 uid="uid://cqgo3o7mf7fma"] + +[ext_resource type="Script" path="res://player/head.gd" id="1_bxedc"] + +[node name="Head" type="Node3D"] +script = ExtResource("1_bxedc") + +[node name="Camera3D" type="Camera3D" parent="."] +current = true diff --git a/player/movement_controller.gd b/player/movement_controller.gd new file mode 100644 index 0000000..b1226a2 --- /dev/null +++ b/player/movement_controller.gd @@ -0,0 +1,61 @@ +extends CharacterBody3D +class_name MovementController +# Source: https://github.com/Whimfoome/godot-FirstPersonStarter + +@export var gravity_multiplier := 3.0 +@export var speed := 10 +@export var acceleration := 8 +@export var deceleration := 10 +@export_range(0.0, 1.0, 0.05) var air_control := 0.3 +@export var jump_height := 10 +var direction := Vector3() +var input_axis := Vector2() +# Get the gravity from the project settings to be synced with RigidDynamicBody nodes. +@onready var gravity: float = (ProjectSettings.get_setting("physics/3d/default_gravity") + * gravity_multiplier) + + +# Called every physics tick. 'delta' is constant +func _physics_process(delta: float) -> void: + input_axis = Input.get_vector(&"move_back", &"move_forward", + &"move_left", &"move_right") + + direction_input() + + if is_on_floor(): + if Input.is_action_just_pressed(&"jump"): + velocity.y = jump_height + else: + velocity.y -= gravity * delta + + accelerate(delta) + + move_and_slide() + + +func direction_input() -> void: + direction = Vector3() + var aim: Basis = get_global_transform().basis + direction = aim.z * -input_axis.x + aim.x * input_axis.y + + +func accelerate(delta: float) -> void: + # Using only the horizontal velocity, interpolate towards the input. + var temp_vel := velocity + temp_vel.y = 0 + + var temp_accel: float + var target: Vector3 = direction * speed + + if direction.dot(temp_vel) > 0: + temp_accel = acceleration + else: + temp_accel = deceleration + + if not is_on_floor(): + temp_accel *= air_control + + temp_vel = temp_vel.lerp(target, temp_accel * delta) + + velocity.x = temp_vel.x + velocity.z = temp_vel.z diff --git a/player/movement_controller.tscn b/player/movement_controller.tscn new file mode 100644 index 0000000..78c6954 --- /dev/null +++ b/player/movement_controller.tscn @@ -0,0 +1,11 @@ +[gd_scene load_steps=3 format=3 uid="uid://btm3vke8t307r"] + +[ext_resource type="Script" path="res://player/movement_controller.gd" id="1_inb67"] + +[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_5b7i1"] + +[node name="MovementController" type="CharacterBody3D"] +script = ExtResource("1_inb67") + +[node name="Collision" type="CollisionShape3D" parent="."] +shape = SubResource("CapsuleShape3D_5b7i1") diff --git a/player/player.tscn b/player/player.tscn new file mode 100644 index 0000000..57521bf --- /dev/null +++ b/player/player.tscn @@ -0,0 +1,12 @@ +[gd_scene load_steps=4 format=3 uid="uid://cnckqfxi8eyk8"] + +[ext_resource type="PackedScene" uid="uid://btm3vke8t307r" path="res://player/movement_controller.tscn" id="2_4d6m2"] +[ext_resource type="PackedScene" uid="uid://cqgo3o7mf7fma" path="res://player/head.tscn" id="2_l45q4"] +[ext_resource type="Script" path="res://player/sprint.gd" id="3_soypm"] + +[node name="Player" instance=ExtResource("2_4d6m2")] + +[node name="Head" parent="." index="1" instance=ExtResource("2_l45q4")] + +[node name="Sprint" type="Node" parent="." index="2"] +script = ExtResource("3_soypm") diff --git a/player/sprint.gd b/player/sprint.gd new file mode 100644 index 0000000..168b6f8 --- /dev/null +++ b/player/sprint.gd @@ -0,0 +1,28 @@ +extends Node +# Source: https://github.com/Whimfoome/godot-FirstPersonStarter + +@export_node_path("MovementController") var controller_path := NodePath("../") +@onready var controller: MovementController = get_node(controller_path) + +@export_node_path("Node3D") var head_path := NodePath("../Head") +@onready var cam: Camera3D = get_node(head_path).cam + +@export var sprint_speed := 16 +@export var fov_multiplier := 1.05 +@onready var normal_speed: int = controller.speed +@onready var normal_fov: float = cam.fov + + +# Called every physics tick. 'delta' is constant +func _physics_process(delta: float) -> void: + if can_sprint(): + controller.speed = sprint_speed + cam.set_fov(lerp(cam.fov, normal_fov * fov_multiplier, delta * 8)) + else: + controller.speed = normal_speed + cam.set_fov(lerp(cam.fov, normal_fov, delta * 8)) + + +func can_sprint() -> bool: + return (controller.is_on_floor() and Input.is_action_pressed(&"sprint") + and controller.input_axis.x >= 0.5) diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..776d306 --- /dev/null +++ b/project.godot @@ -0,0 +1,90 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[application] + +config/name="Godot Test Project" +run/main_scene="res://main.tscn" +config/features=PackedStringArray("4.1", "GL Compatibility") +config/icon="res://icon.svg" + +[input] + +move_forward={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":-1.0,"script":null) +] +} +move_back={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":1.0,"script":null) +] +} +move_left={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null) +] +} +move_right={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null) +] +} +jump={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":false,"script":null) +] +} +sprint={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194325,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":6,"pressure":0.0,"pressed":false,"script":null) +] +} +change_mouse_input={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194332,"key_label":0,"unicode":0,"echo":false,"script":null) +] +} +look_up={ +"deadzone": 0.5, +"events": [Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":3,"axis_value":1.0,"script":null) +] +} +look_down={ +"deadzone": 0.5, +"events": [Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":3,"axis_value":-1.0,"script":null) +] +} +look_left={ +"deadzone": 0.5, +"events": [Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":2,"axis_value":-1.0,"script":null) +] +} +look_right={ +"deadzone": 0.5, +"events": [Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":2,"axis_value":1.0,"script":null) +] +} + +[rendering] + +renderer/rendering_method="gl_compatibility" +renderer/rendering_method.mobile="gl_compatibility" +textures/vram_compression/import_etc2_astc=true diff --git a/rooms/godot_test_room_1.tscn b/rooms/godot_test_room_1.tscn new file mode 100644 index 0000000..9f01662 --- /dev/null +++ b/rooms/godot_test_room_1.tscn @@ -0,0 +1,670 @@ +[gd_scene load_steps=16 format=3 uid="uid://dtapn20fi2ley"] + +[ext_resource type="Material" uid="uid://00ovpb55yb80" path="res://assets/textures/white_walls.tres" id="1_2kj15"] +[ext_resource type="Material" uid="uid://dnosvjyjosgty" path="res://assets/textures/grey_floor.tres" id="1_itx5g"] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4t3kq"] +resource_name = "mat_0" +cull_mode = 2 +vertex_color_use_as_albedo = true +albedo_color = Color(0.494118, 0.494118, 0.52549, 1) +metallic = 1.0 + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cjxgc"] +resource_name = "mat_1" +cull_mode = 2 +vertex_color_use_as_albedo = true +albedo_color = Color(0.188235, 0.188235, 0.815686, 1) +metallic = 1.0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_c2cxn"] +_surfaces = [{ +"aabb": AABB(2, 2.51934, -10, 0.693441, 0.98067, 0.693441), +"format": 4097, +"index_count": 3, +"index_data": PackedByteArray(0, 0, 2, 0, 1, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 3, +"vertex_data": PackedByteArray(46, 97, 44, 64, 0, 0, 96, 64, 180, 231, 20, 193, 0, 0, 0, 64, 221, 60, 33, 64, 0, 0, 32, 193, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 32, 193) +}, { +"aabb": AABB(0.5, 2.51934, -10, 1.5, 0.98067, 1.50001), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 8, 193, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 0, 63, 221, 60, 33, 64, 0, 0, 8, 193, 0, 0, 0, 64, 221, 60, 33, 64, 0, 0, 32, 193) +}, { +"aabb": AABB(0.5, 2.51934, -8.5, 0.693431, 0.98067, 0.693431), +"format": 4097, +"index_count": 3, +"index_data": PackedByteArray(1, 0, 2, 0, 0, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 3, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 8, 193, 93, 194, 152, 63, 0, 0, 96, 64, 105, 207, 249, 192, 0, 0, 0, 63, 221, 60, 33, 64, 0, 0, 8, 193) +}, { +"aabb": AABB(0.5, 3.5, -10, 2.19343, 1.00136e-05, 2.19343), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 2, 0, 1, 0, 3, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 8, 193, 93, 194, 152, 63, 0, 0, 96, 64, 105, 207, 249, 192, 46, 97, 44, 64, 0, 0, 96, 64, 180, 231, 20, 193, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 32, 193) +}, { +"aabb": AABB(0.5, 2.51934, -10, 2.19343, 0.98066, 2.19343), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 0, 0, 1, 0, 2, 0, 3, 0, 0, 0), +"name": "mat_1", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 64, 221, 60, 33, 64, 0, 0, 32, 193, 0, 0, 0, 63, 221, 60, 33, 64, 0, 0, 8, 193, 93, 194, 152, 63, 0, 0, 96, 64, 105, 207, 249, 192, 46, 97, 44, 64, 0, 0, 96, 64, 180, 231, 20, 193) +}] +blend_shape_mode = 0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_c53i5"] +resource_name = "Godot Test Room 1_root" +_surfaces = [{ +"aabb": AABB(2, 2.51934, -10, 0.693441, 0.98067, 0.693441), +"format": 4099, +"index_count": 3, +"index_data": PackedByteArray(0, 0, 2, 0, 1, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 3, +"vertex_data": PackedByteArray(46, 97, 44, 64, 0, 0, 96, 64, 180, 231, 20, 193, 255, 255, 255, 191, 0, 0, 0, 64, 221, 60, 33, 64, 0, 0, 32, 193, 255, 255, 255, 191, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 32, 193, 255, 255, 255, 191) +}, { +"aabb": AABB(0.5, 2.51934, -10, 1.5, 0.98067, 1.50001), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 8, 193, 0, 0, 255, 191, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 255, 191, 0, 0, 0, 63, 221, 60, 33, 64, 0, 0, 8, 193, 0, 0, 255, 191, 0, 0, 0, 64, 221, 60, 33, 64, 0, 0, 32, 193, 0, 0, 255, 191) +}, { +"aabb": AABB(0.5, 2.51934, -8.5, 0.693431, 0.98067, 0.693431), +"format": 4099, +"index_count": 3, +"index_data": PackedByteArray(1, 0, 2, 0, 0, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 3, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 8, 193, 255, 63, 255, 127, 93, 194, 152, 63, 0, 0, 96, 64, 105, 207, 249, 192, 255, 63, 255, 127, 0, 0, 0, 63, 221, 60, 33, 64, 0, 0, 8, 193, 255, 63, 255, 127) +}, { +"aabb": AABB(0.5, 3.5, -10, 2.19343, 1.00136e-05, 2.19343), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 2, 0, 1, 0, 3, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 8, 193, 255, 127, 255, 255, 93, 194, 152, 63, 0, 0, 96, 64, 105, 207, 249, 192, 255, 127, 255, 255, 46, 97, 44, 64, 0, 0, 96, 64, 180, 231, 20, 193, 255, 127, 255, 255, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 255) +}, { +"aabb": AABB(0.5, 2.51934, -10, 2.19343, 0.98066, 2.19343), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 0, 0, 1, 0, 2, 0, 3, 0, 0, 0), +"material": SubResource("StandardMaterial3D_cjxgc"), +"name": "mat_1", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 64, 221, 60, 33, 64, 0, 0, 32, 193, 124, 165, 250, 74, 0, 0, 0, 63, 221, 60, 33, 64, 0, 0, 8, 193, 124, 165, 250, 74, 93, 194, 152, 63, 0, 0, 96, 64, 105, 207, 249, 192, 124, 165, 250, 74, 46, 97, 44, 64, 0, 0, 96, 64, 180, 231, 20, 193, 124, 165, 250, 74) +}] +blend_shape_mode = 0 +shadow_mesh = SubResource("ArrayMesh_c2cxn") + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_h756y"] +resource_name = "mat_2" +cull_mode = 2 +vertex_color_use_as_albedo = true +albedo_color = Color(0, 0, 0, 1) +metallic = 1.0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_3gqg0"] +_surfaces = [{ +"aabb": AABB(0, 3.5, -10.5, 10, 0.50001, 9.53674e-06), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193) +}, { +"aabb": AABB(0, 3.5, -10.5, 1e-05, 0.50001, 10.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 2, 0, 3, 0, 1, 0, 0, 0, 3, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0) +}, { +"aabb": AABB(0, 3.5, 0, 10, 0.50001, 1e-05), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 1, 0, 0, 0, 2, 0, 3, 0, 1, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0) +}, { +"aabb": AABB(10, 3.5, -10.5, 9.53674e-06, 0.50001, 10.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 2, 0, 3, 0, 0, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193) +}, { +"aabb": AABB(0, 4, -10.5, 10, 1.00136e-05, 10.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 0, 0) +}, { +"aabb": AABB(0, 3.5, -10.5, 10, 1.00136e-05, 10.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 0, 0, 1, 0, 3, 0, 1, 0, 2, 0), +"name": "mat_2", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193) +}] +blend_shape_mode = 0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_d02j3"] +resource_name = "Godot Test Room 1_root001" +_surfaces = [{ +"aabb": AABB(0, 3.5, -10.5, 10, 0.50001, 9.53674e-06), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 255) +}, { +"aabb": AABB(0, 3.5, -10.5, 1e-05, 0.50001, 10.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 2, 0, 3, 0, 1, 0, 0, 0, 3, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 255, 127) +}, { +"aabb": AABB(0, 3.5, 0, 10, 0.50001, 1e-05), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 1, 0, 0, 0, 2, 0, 3, 0, 1, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 127) +}, { +"aabb": AABB(10, 3.5, -10.5, 9.53674e-06, 0.50001, 10.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 2, 0, 3, 0, 0, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 0, 0, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 40, 193, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 127) +}, { +"aabb": AABB(0, 4, -10.5, 10, 1.00136e-05, 10.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 40, 193, 255, 127, 255, 255, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 40, 193, 255, 127, 255, 255, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 0, 0, 255, 127, 255, 255) +}, { +"aabb": AABB(0, 3.5, -10.5, 10, 1.00136e-05, 10.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 0, 0, 1, 0, 3, 0, 1, 0, 2, 0), +"material": SubResource("StandardMaterial3D_h756y"), +"name": "mat_2", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 255, 127, 0, 0, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 255, 127, 0, 0) +}] +blend_shape_mode = 0 +shadow_mesh = SubResource("ArrayMesh_3gqg0") + +[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_suvg4"] +points = PackedVector3Array(10, 4, -0.00102711, 10, 3.5, -0.00102711, 10, 4, -10.5, 0, 4, -0.00102711, 0, 3.5, -0.00102711, 10, 3.5, -10.5, 0, 4, -10.5, 0, 3.5, -10.5) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wyp31"] +resource_name = "mat_4" +cull_mode = 2 +vertex_color_use_as_albedo = true + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_muhop"] +resource_name = "mat_5" +cull_mode = 2 +vertex_color_use_as_albedo = true +albedo_color = Color(0, 1, 0.835294, 1) +metallic = 1.0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_5u8di"] +_surfaces = [{ +"aabb": AABB(0.5, 0.5, -10.5, 9.5, 1.00136e-05, 10), +"format": 4097, +"index_count": 33, +"index_data": PackedByteArray(3, 0, 0, 0, 1, 0, 3, 0, 2, 0, 0, 0, 11, 0, 1, 0, 12, 0, 6, 0, 3, 0, 1, 0, 6, 0, 1, 0, 11, 0, 5, 0, 4, 0, 3, 0, 5, 0, 3, 0, 6, 0, 8, 0, 6, 0, 11, 0, 9, 0, 11, 0, 10, 0, 9, 0, 8, 0, 11, 0, 7, 0, 6, 0, 8, 0), +"name": "mat_3", +"primitive": 3, +"vertex_count": 13, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 8, 193, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 96, 192, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 96, 192, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 176, 192, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 176, 192, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 40, 193, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 40, 193, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 32, 193) +}, { +"aabb": AABB(6, 0.5, -10, 3.5, 3, 9.53674e-06), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 3, 0, 0, 0, 2, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 32, 193) +}, { +"aabb": AABB(0.5, 0.5, -8.5, 1.00136e-05, 3, 8), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 3, 0, 0, 0, 2, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 8, 193, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 8, 193, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 191) +}, { +"aabb": AABB(0, 0, -10.5, 1e-05, 3.50001, 10.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) +}, { +"aabb": AABB(0, 0, 0, 10, 3.5, 1e-05), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 3, 0, 0, 0, 2, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0) +}, { +"aabb": AABB(10, 0, -10.5, 9.53674e-06, 3.50001, 10.5), +"format": 4097, +"index_count": 18, +"index_data": PackedByteArray(2, 0, 4, 0, 5, 0, 3, 0, 4, 0, 2, 0, 6, 0, 1, 0, 2, 0, 6, 0, 2, 0, 5, 0, 7, 0, 0, 0, 1, 0, 7, 0, 1, 0, 6, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 8, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 96, 192, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 96, 192, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 176, 192, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 176, 192, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0) +}, { +"aabb": AABB(0, 0, -10.5, 10, 3.50001, 9.53674e-06), +"format": 4097, +"index_count": 18, +"index_data": PackedByteArray(4, 0, 5, 0, 6, 0, 4, 0, 6, 0, 7, 0, 0, 0, 2, 0, 3, 0, 1, 0, 0, 0, 3, 0, 7, 0, 1, 0, 3, 0, 7, 0, 3, 0, 4, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 8, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 40, 193, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 40, 193, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 40, 193, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 193) +}, { +"aabb": AABB(0, 0, -10.5, 10, 1e-05, 10.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 0, 0, 1, 0, 2, 0, 3, 0, 0, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 193) +}, { +"aabb": AABB(0, 3.5, -10.5, 10, 1.00136e-05, 10.5), +"format": 4097, +"index_count": 27, +"index_data": PackedByteArray(6, 0, 5, 0, 0, 0, 4, 0, 1, 0, 0, 0, 4, 0, 0, 0, 5, 0, 7, 0, 6, 0, 10, 0, 2, 0, 4, 0, 3, 0, 2, 0, 1, 0, 4, 0, 9, 0, 8, 0, 7, 0, 9, 0, 7, 0, 10, 0, 10, 0, 6, 0, 0, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 11, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 96, 192, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 96, 192, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 8, 193, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193) +}, { +"aabb": AABB(2, 0.5, -10, 2.00001, 3.00001, 9.53674e-06), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 3, 0, 2, 0, 1, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 32, 193) +}, { +"aabb": AABB(4, 0.5, -10.5, 1.00136e-05, 3, 0.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 3, 0, 2, 0, 0, 0, 1, 0, 3, 0), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 40, 193, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 32, 193) +}, { +"aabb": AABB(0.5, 0.5, -10, 1.50001, 3.00001, 1.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 0, 0, 1, 0, 2, 0, 3, 0, 0, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 8, 193, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 8, 193) +}, { +"aabb": AABB(6, 0.5, -10.5, 1.00136e-05, 3.00001, 0.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 40, 193, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 32, 193) +}, { +"aabb": AABB(6, 3.5, -10.5, 4.00001, 1.00136e-05, 5), +"format": 4097, +"index_count": 12, +"index_data": PackedByteArray(3, 0, 2, 0, 1, 0, 3, 0, 5, 0, 4, 0, 0, 0, 3, 0, 1, 0, 0, 0, 5, 0, 3, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 6, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 176, 192, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 176, 192) +}, { +"aabb": AABB(9.5, 0.5, -10, 9.53674e-06, 3.00001, 4.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 176, 192, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 176, 192) +}, { +"aabb": AABB(9.5, 0.5, -5.5, 0.5, 3.00001, 1.00136e-05), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 1, 0, 0, 0, 2, 0, 3, 0, 1, 0), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 176, 192, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 176, 192, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 176, 192, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 176, 192) +}, { +"aabb": AABB(9.5, 0.5, -3.5, 0.50001, 3.00001, 1.00136e-05), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 96, 192, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 96, 192, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 96, 192, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 96, 192) +}, { +"aabb": AABB(9.5, 0.5, -3.5, 9.53674e-06, 3.00001, 3), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 0, 0, 2, 0, 1, 0, 0, 0, 3, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 96, 192, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 96, 192, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 0, 191) +}, { +"aabb": AABB(0.5, 0.5, -0.5, 9, 3.00001, 1.00136e-05), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 3, 0, 2, 0, 1, 0, 0, 0, 3, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 191) +}] +blend_shape_mode = 0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_okwdl"] +resource_name = "Godot Test Room 1_root002" +_surfaces = [{ +"aabb": AABB(0.5, 0.5, -10.5, 9.5, 1.00136e-05, 10), +"format": 4099, +"index_count": 33, +"index_data": PackedByteArray(3, 0, 0, 0, 1, 0, 3, 0, 2, 0, 0, 0, 11, 0, 1, 0, 12, 0, 6, 0, 3, 0, 1, 0, 6, 0, 1, 0, 11, 0, 5, 0, 4, 0, 3, 0, 5, 0, 3, 0, 6, 0, 8, 0, 6, 0, 11, 0, 9, 0, 11, 0, 10, 0, 9, 0, 8, 0, 11, 0, 7, 0, 6, 0, 8, 0), +"material": ExtResource("1_itx5g"), +"name": "Grey Floor", +"primitive": 3, +"vertex_count": 13, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 191, 255, 127, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 8, 193, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 0, 191, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 96, 192, 255, 127, 255, 255, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 96, 192, 255, 127, 255, 255, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 176, 192, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 176, 192, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 32, 193, 255, 127, 255, 255, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 32, 193, 255, 127, 255, 255, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 40, 193, 255, 127, 255, 255, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 40, 193, 255, 127, 255, 255, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 32, 193, 255, 127, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 32, 193, 255, 127, 255, 255) +}, { +"aabb": AABB(6, 0.5, -10, 3.5, 3, 9.53674e-06), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 3, 0, 0, 0, 2, 0), +"material": ExtResource("1_2kj15"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 32, 193, 255, 127, 255, 127, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 32, 193, 255, 127, 255, 127, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 127, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 127) +}, { +"aabb": AABB(0.5, 0.5, -8.5, 1.00136e-05, 3, 8), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 3, 0, 0, 0, 2, 0), +"material": SubResource("StandardMaterial3D_wyp31"), +"name": "White Walls", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 8, 193, 255, 255, 255, 127, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 8, 193, 255, 255, 255, 127, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 191, 255, 255, 255, 127, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 191, 255, 255, 255, 127) +}, { +"aabb": AABB(0, 0, -10.5, 1e-05, 3.50001, 10.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 193, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127) +}, { +"aabb": AABB(0, 0, 0, 10, 3.5, 1e-05), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 3, 0, 0, 0, 2, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 127) +}, { +"aabb": AABB(10, 0, -10.5, 9.53674e-06, 3.50001, 10.5), +"format": 4099, +"index_count": 18, +"index_data": PackedByteArray(2, 0, 4, 0, 5, 0, 3, 0, 4, 0, 2, 0, 6, 0, 1, 0, 2, 0, 6, 0, 2, 0, 5, 0, 7, 0, 0, 0, 1, 0, 7, 0, 1, 0, 6, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 8, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 96, 192, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 96, 192, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 176, 192, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 176, 192, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 40, 193, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 255, 255, 255, 127) +}, { +"aabb": AABB(0, 0, -10.5, 10, 3.50001, 9.53674e-06), +"format": 4099, +"index_count": 18, +"index_data": PackedByteArray(4, 0, 5, 0, 6, 0, 4, 0, 6, 0, 7, 0, 0, 0, 2, 0, 3, 0, 1, 0, 0, 0, 3, 0, 7, 0, 1, 0, 3, 0, 7, 0, 3, 0, 4, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 8, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 193, 255, 255, 255, 255) +}, { +"aabb": AABB(0, 0, -10.5, 10, 1e-05, 10.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 0, 0, 1, 0, 2, 0, 3, 0, 0, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 40, 193, 255, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 193, 255, 127, 0, 0) +}, { +"aabb": AABB(0, 3.5, -10.5, 10, 1.00136e-05, 10.5), +"format": 4099, +"index_count": 27, +"index_data": PackedByteArray(6, 0, 5, 0, 0, 0, 4, 0, 1, 0, 0, 0, 4, 0, 0, 0, 5, 0, 7, 0, 6, 0, 10, 0, 2, 0, 4, 0, 3, 0, 2, 0, 1, 0, 4, 0, 9, 0, 8, 0, 7, 0, 9, 0, 7, 0, 10, 0, 10, 0, 6, 0, 0, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 11, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 96, 192, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 96, 192, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 0, 191, 255, 127, 255, 255, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 191, 255, 127, 255, 255, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 8, 193, 255, 127, 255, 255, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 255, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 255, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 40, 193, 255, 127, 255, 255, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 255, 127, 255, 255) +}, { +"aabb": AABB(2, 0.5, -10, 2.00001, 3.00001, 9.53674e-06), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 3, 0, 2, 0, 1, 0), +"material": SubResource("StandardMaterial3D_wyp31"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 127, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 127, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 32, 193, 255, 127, 255, 127, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 32, 193, 255, 127, 255, 127) +}, { +"aabb": AABB(4, 0.5, -10.5, 1.00136e-05, 3, 0.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 3, 0, 2, 0, 0, 0, 1, 0, 3, 0), +"material": SubResource("StandardMaterial3D_muhop"), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 40, 193, 255, 255, 255, 127, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 32, 193, 255, 255, 255, 127, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 127, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 32, 193, 255, 255, 255, 127) +}, { +"aabb": AABB(0.5, 0.5, -10, 1.50001, 3.00001, 1.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 0, 0, 1, 0, 2, 0, 3, 0, 0, 0), +"material": SubResource("StandardMaterial3D_wyp31"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 32, 193, 255, 191, 255, 127, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 32, 193, 255, 191, 255, 127, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 8, 193, 255, 191, 255, 127, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 8, 193, 255, 191, 255, 127) +}, { +"aabb": AABB(6, 0.5, -10.5, 1.00136e-05, 3.00001, 0.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"material": SubResource("StandardMaterial3D_muhop"), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 255, 127, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 40, 193, 0, 0, 255, 127, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 255, 127, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 255, 127) +}, { +"aabb": AABB(6, 3.5, -10.5, 4.00001, 1.00136e-05, 5), +"format": 4099, +"index_count": 12, +"index_data": PackedByteArray(3, 0, 2, 0, 1, 0, 3, 0, 5, 0, 4, 0, 0, 0, 3, 0, 1, 0, 0, 0, 5, 0, 3, 0), +"material": SubResource("StandardMaterial3D_4t3kq"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 6, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 255, 127, 255, 255, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 40, 193, 255, 127, 255, 255, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 176, 192, 255, 127, 255, 255, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 176, 192, 255, 127, 255, 255) +}, { +"aabb": AABB(9.5, 0.5, -10, 9.53674e-06, 3.00001, 4.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"material": SubResource("StandardMaterial3D_wyp31"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 255, 127, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 255, 127, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 176, 192, 0, 0, 255, 127, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 176, 192, 0, 0, 255, 127) +}, { +"aabb": AABB(9.5, 0.5, -5.5, 0.5, 3.00001, 1.00136e-05), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 1, 0, 0, 0, 2, 0, 3, 0, 1, 0), +"material": SubResource("StandardMaterial3D_muhop"), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 176, 192, 255, 127, 255, 127, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 176, 192, 255, 127, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 176, 192, 255, 127, 255, 127, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 176, 192, 255, 127, 255, 127) +}, { +"aabb": AABB(9.5, 0.5, -3.5, 0.50001, 3.00001, 1.00136e-05), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"material": SubResource("StandardMaterial3D_muhop"), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 96, 192, 255, 255, 255, 255, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 96, 192, 255, 255, 255, 255, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 96, 192, 255, 255, 255, 255, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 96, 192, 255, 255, 255, 255) +}, { +"aabb": AABB(9.5, 0.5, -3.5, 9.53674e-06, 3.00001, 3), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 0, 0, 2, 0, 1, 0, 0, 0, 3, 0), +"material": SubResource("StandardMaterial3D_wyp31"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 96, 192, 0, 0, 255, 127, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 96, 192, 0, 0, 255, 127, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 255, 127, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 255, 127) +}, { +"aabb": AABB(0.5, 0.5, -0.5, 9, 3.00001, 1.00136e-05), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 3, 0, 2, 0, 1, 0, 0, 0, 3, 0), +"material": SubResource("StandardMaterial3D_wyp31"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 191, 255, 255, 255, 255, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 0, 191, 255, 255, 255, 255, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 0, 191, 255, 255, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 191, 255, 255, 255, 255) +}] +blend_shape_mode = 0 +shadow_mesh = SubResource("ArrayMesh_5u8di") + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_k8w8o"] +data = PackedVector3Array(9.5, 0.5, -3.5, 0.5, 0.5, -0.5, 0.5, 0.5, -8.5, 9.5, 0.5, -3.5, 9.5, 0.5, -0.5, 0.5, 0.5, -0.5, 4, 0.5, -10, 0.5, 0.5, -8.5, 2, 0.5, -10, 9.5, 0.5, -5.5, 9.5, 0.5, -3.5, 0.5, 0.5, -8.5, 9.5, 0.5, -5.5, 0.5, 0.5, -8.5, 4, 0.5, -10, 10, 0.5, -5.5, 10, 0.5, -3.5, 9.5, 0.5, -3.5, 10, 0.5, -5.5, 9.5, 0.5, -3.5, 9.5, 0.5, -5.5, 6, 0.5, -10, 9.5, 0.5, -5.5, 4, 0.5, -10, 6, 0.5, -10.5, 4, 0.5, -10, 4, 0.5, -10.5, 6, 0.5, -10.5, 6, 0.5, -10, 4, 0.5, -10, 9.5, 0.5, -10, 9.5, 0.5, -5.5, 6, 0.5, -10, 9.5, 3.5, -10, 9.5, 0.5, -10, 6, 0.5, -10, 9.5, 3.5, -10, 6, 0.5, -10, 6, 3.5, -10, 0.5, 3.5, -0.5, 0.5, 3.5, -8.5, 0.5, 0.5, -8.5, 0.5, 3.5, -0.5, 0.5, 0.5, -8.5, 0.5, 0.5, -0.5, 0, 0, -10.5, 0, 3.5, -10.5, 0, 3.5, 0, 0, 0, -10.5, 0, 3.5, 0, 0, 0, 0, 10, 3.5, 0, 10, 0, 0, 0, 0, 0, 10, 3.5, 0, 0, 0, 0, 0, 3.5, 0, 10, 0.5, -5.5, 10, 3.5, -10.5, 10, 0, -10.5, 10, 3.5, -5.5, 10, 3.5, -10.5, 10, 0.5, -5.5, 10, 0, 0, 10, 0.5, -3.5, 10, 0.5, -5.5, 10, 0, 0, 10, 0.5, -5.5, 10, 0, -10.5, 10, 3.5, 0, 10, 3.5, -3.5, 10, 0.5, -3.5, 10, 3.5, 0, 10, 0.5, -3.5, 10, 0, 0, 4, 0.5, -10.5, 4, 3.5, -10.5, 0, 3.5, -10.5, 4, 0.5, -10.5, 0, 3.5, -10.5, 0, 0, -10.5, 10, 3.5, -10.5, 6, 3.5, -10.5, 6, 0.5, -10.5, 10, 0, -10.5, 10, 3.5, -10.5, 6, 0.5, -10.5, 0, 0, -10.5, 10, 0, -10.5, 6, 0.5, -10.5, 0, 0, -10.5, 6, 0.5, -10.5, 4, 0.5, -10.5, 10, 0, -10.5, 0, 0, 0, 10, 0, 0, 10, 0, -10.5, 0, 0, -10.5, 0, 0, 0, 0.5, 3.5, -8.5, 0.5, 3.5, -0.5, 0, 3.5, 0, 9.5, 3.5, -0.5, 10, 3.5, 0, 0, 3.5, 0, 9.5, 3.5, -0.5, 0, 3.5, 0, 0.5, 3.5, -0.5, 2, 3.5, -10, 0.5, 3.5, -8.5, 0, 3.5, -10.5, 10, 3.5, -3.5, 9.5, 3.5, -0.5, 9.5, 3.5, -3.5, 10, 3.5, -3.5, 10, 3.5, 0, 9.5, 3.5, -0.5, 4, 3.5, -10.5, 4, 3.5, -10, 2, 3.5, -10, 4, 3.5, -10.5, 2, 3.5, -10, 0, 3.5, -10.5, 0, 3.5, -10.5, 0.5, 3.5, -8.5, 0, 3.5, 0, 4, 0.5, -10, 2, 3.5, -10, 4, 3.5, -10, 4, 0.5, -10, 2, 0.5, -10, 2, 3.5, -10, 4, 0.5, -10.5, 4, 3.5, -10, 4, 3.5, -10.5, 4, 0.5, -10.5, 4, 0.5, -10, 4, 3.5, -10, 0.5, 0.5, -8.5, 2, 3.5, -10, 2, 0.5, -10, 0.5, 0.5, -8.5, 0.5, 3.5, -8.5, 2, 3.5, -10, 6, 0.5, -10.5, 6, 3.5, -10.5, 6, 3.5, -10, 6, 0.5, -10.5, 6, 3.5, -10, 6, 0.5, -10, 9.5, 3.5, -10, 6, 3.5, -10, 6, 3.5, -10.5, 9.5, 3.5, -10, 10, 3.5, -5.5, 9.5, 3.5, -5.5, 10, 3.5, -10.5, 9.5, 3.5, -10, 6, 3.5, -10.5, 10, 3.5, -10.5, 10, 3.5, -5.5, 9.5, 3.5, -10, 9.5, 0.5, -10, 9.5, 3.5, -10, 9.5, 3.5, -5.5, 9.5, 0.5, -10, 9.5, 3.5, -5.5, 9.5, 0.5, -5.5, 10, 3.5, -5.5, 9.5, 0.5, -5.5, 9.5, 3.5, -5.5, 10, 3.5, -5.5, 10, 0.5, -5.5, 9.5, 0.5, -5.5, 10, 0.5, -3.5, 10, 3.5, -3.5, 9.5, 3.5, -3.5, 10, 0.5, -3.5, 9.5, 3.5, -3.5, 9.5, 0.5, -3.5, 9.5, 0.5, -0.5, 9.5, 3.5, -3.5, 9.5, 3.5, -0.5, 9.5, 0.5, -3.5, 9.5, 3.5, -3.5, 9.5, 0.5, -0.5, 9.5, 3.5, -0.5, 0.5, 0.5, -0.5, 9.5, 0.5, -0.5, 9.5, 3.5, -0.5, 0.5, 3.5, -0.5, 0.5, 0.5, -0.5) + +[node name="Godot Test Room 1" type="Node3D"] + +[node name="root003" type="StaticBody3D" parent="."] + +[node name="Corner Block" type="MeshInstance3D" parent="root003"] +mesh = SubResource("ArrayMesh_c53i5") +skeleton = NodePath("") + +[node name="Ceiling" type="MeshInstance3D" parent="root003"] +mesh = SubResource("ArrayMesh_d02j3") +skeleton = NodePath("") + +[node name="Ceiling Collider" type="CollisionShape3D" parent="root003"] +shape = SubResource("ConvexPolygonShape3D_suvg4") + +[node name="Room" type="MeshInstance3D" parent="root003"] +mesh = SubResource("ArrayMesh_okwdl") +skeleton = NodePath("") + +[node name="Room Collider" type="CollisionShape3D" parent="root003"] +shape = SubResource("ConcavePolygonShape3D_k8w8o") + +[node name="OmniLight3D" type="OmniLight3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.0423, 3.19803, -5.23849) +omni_range = 14.425 +omni_attenuation = 0.019915 diff --git a/rooms/godot_test_room_2.tscn b/rooms/godot_test_room_2.tscn new file mode 100644 index 0000000..8d66eda --- /dev/null +++ b/rooms/godot_test_room_2.tscn @@ -0,0 +1,672 @@ +[gd_scene load_steps=16 format=3 uid="uid://dnvj1iaml6w00"] + +[ext_resource type="Material" uid="uid://00ovpb55yb80" path="res://assets/textures/white_walls.tres" id="1_1krjo"] +[ext_resource type="Material" uid="uid://dnosvjyjosgty" path="res://assets/textures/grey_floor.tres" id="1_vllwq"] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cv8mf"] +resource_name = "mat_0" +cull_mode = 2 +vertex_color_use_as_albedo = true +albedo_color = Color(0.494118, 0.494118, 0.52549, 1) +metallic = 1.0 + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7bttq"] +resource_name = "mat_1" +cull_mode = 2 +vertex_color_use_as_albedo = true +albedo_color = Color(0.188235, 0.188235, 0.815686, 1) +metallic = 1.0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_3geua"] +_surfaces = [{ +"aabb": AABB(2, 2.51934, -1.19343, 0.693431, 0.98066, 0.693442), +"format": 4097, +"index_count": 3, +"index_data": PackedByteArray(2, 0, 0, 0, 1, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 3, +"vertex_data": PackedByteArray(0, 0, 0, 64, 221, 60, 33, 64, 0, 0, 0, 191, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 0, 191, 46, 97, 44, 64, 0, 0, 96, 64, 93, 194, 152, 191) +}, { +"aabb": AABB(0.5, 2.51934, -2, 1.50001, 0.98066, 1.50001), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 2, 0, 0, 0, 1, 0, 3, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 64, 221, 60, 33, 64, 0, 0, 0, 191, 0, 0, 0, 63, 221, 60, 33, 64, 0, 0, 0, 192, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 192, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 0, 191) +}, { +"aabb": AABB(0.5, 2.51934, -2.69343, 0.693431, 0.98066, 0.693441), +"format": 4097, +"index_count": 3, +"index_data": PackedByteArray(0, 0, 1, 0, 2, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 3, +"vertex_data": PackedByteArray(0, 0, 0, 63, 221, 60, 33, 64, 0, 0, 0, 192, 93, 194, 152, 63, 0, 0, 96, 64, 46, 97, 44, 192, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 192) +}, { +"aabb": AABB(0.5, 3.5, -2.69343, 2.19343, 1.00136e-05, 2.19343), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 2, 0, 0, 0, 3, 0, 2, 0, 1, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 192, 93, 194, 152, 63, 0, 0, 96, 64, 46, 97, 44, 192, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 0, 191, 46, 97, 44, 64, 0, 0, 96, 64, 93, 194, 152, 191) +}, { +"aabb": AABB(0.5, 2.51934, -2.69343, 2.19343, 0.98067, 2.19343), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 1, 0, 0, 0, 2, 0, 3, 0, 1, 0), +"name": "mat_1", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(93, 194, 152, 63, 0, 0, 96, 64, 46, 97, 44, 192, 46, 97, 44, 64, 0, 0, 96, 64, 93, 194, 152, 191, 0, 0, 0, 63, 221, 60, 33, 64, 0, 0, 0, 192, 0, 0, 0, 64, 221, 60, 33, 64, 0, 0, 0, 191) +}] +blend_shape_mode = 0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_ojawf"] +resource_name = "Godot Test Room 2_root" +_surfaces = [{ +"aabb": AABB(2, 2.51934, -1.19343, 0.693431, 0.98066, 0.693442), +"format": 4099, +"index_count": 3, +"index_data": PackedByteArray(2, 0, 0, 0, 1, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 3, +"vertex_data": PackedByteArray(0, 0, 0, 64, 221, 60, 33, 64, 0, 0, 0, 191, 255, 191, 255, 127, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 0, 191, 255, 191, 255, 127, 46, 97, 44, 64, 0, 0, 96, 64, 93, 194, 152, 191, 255, 191, 255, 127) +}, { +"aabb": AABB(0.5, 2.51934, -2, 1.50001, 0.98066, 1.50001), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 2, 0, 0, 0, 1, 0, 3, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 64, 221, 60, 33, 64, 0, 0, 0, 191, 255, 63, 255, 127, 0, 0, 0, 63, 221, 60, 33, 64, 0, 0, 0, 192, 255, 63, 255, 127, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 192, 255, 63, 255, 127, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 0, 191, 255, 63, 255, 127) +}, { +"aabb": AABB(0.5, 2.51934, -2.69343, 0.693431, 0.98066, 0.693441), +"format": 4099, +"index_count": 3, +"index_data": PackedByteArray(0, 0, 1, 0, 2, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 3, +"vertex_data": PackedByteArray(0, 0, 0, 63, 221, 60, 33, 64, 0, 0, 0, 192, 0, 0, 255, 191, 93, 194, 152, 63, 0, 0, 96, 64, 46, 97, 44, 192, 0, 0, 255, 191, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 192, 0, 0, 255, 191) +}, { +"aabb": AABB(0.5, 3.5, -2.69343, 2.19343, 1.00136e-05, 2.19343), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 2, 0, 0, 0, 3, 0, 2, 0, 1, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 192, 255, 127, 255, 255, 93, 194, 152, 63, 0, 0, 96, 64, 46, 97, 44, 192, 255, 127, 255, 255, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 0, 191, 255, 127, 255, 255, 46, 97, 44, 64, 0, 0, 96, 64, 93, 194, 152, 191, 255, 127, 255, 255) +}, { +"aabb": AABB(0.5, 2.51934, -2.69343, 2.19343, 0.98067, 2.19343), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 1, 0, 0, 0, 2, 0, 3, 0, 1, 0), +"material": SubResource("StandardMaterial3D_7bttq"), +"name": "mat_1", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(93, 194, 152, 63, 0, 0, 96, 64, 46, 97, 44, 192, 250, 202, 125, 37, 46, 97, 44, 64, 0, 0, 96, 64, 93, 194, 152, 191, 250, 202, 125, 37, 0, 0, 0, 63, 221, 60, 33, 64, 0, 0, 0, 192, 250, 202, 125, 37, 0, 0, 0, 64, 221, 60, 33, 64, 0, 0, 0, 191, 250, 202, 125, 37) +}] +blend_shape_mode = 0 +shadow_mesh = SubResource("ArrayMesh_3geua") + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_usdwx"] +resource_name = "mat_2" +cull_mode = 2 +vertex_color_use_as_albedo = true +albedo_color = Color(0, 0, 0, 1) +metallic = 1.0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_g88vf"] +_surfaces = [{ +"aabb": AABB(0, 3.5, 0, 10, 0.50001, 1e-05), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0) +}, { +"aabb": AABB(0, 3.5, -10.5, 1e-05, 0.50001, 10.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 2, 0, 3, 0, 1, 0, 0, 0, 3, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0) +}, { +"aabb": AABB(0, 3.5, -10.5, 10, 0.50001, 9.53674e-06), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 1, 0, 0, 0, 2, 0, 3, 0, 1, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193) +}, { +"aabb": AABB(10, 3.5, -10.5, 9.53674e-06, 0.50001, 10.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 2, 0, 3, 0, 0, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193) +}, { +"aabb": AABB(0, 4, -10.5, 10, 1.00136e-05, 10.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 0, 0, 1, 0, 2, 0, 1, 0, 3, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 40, 193) +}, { +"aabb": AABB(0, 3.5, -10.5, 10, 1.00136e-05, 10.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 2, 0, 3, 0, 0, 0, 3, 0, 1, 0), +"name": "mat_2", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0) +}] +blend_shape_mode = 0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_k0hly"] +resource_name = "Godot Test Room 2_root001" +_surfaces = [{ +"aabb": AABB(0, 3.5, 0, 10, 0.50001, 1e-05), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 127) +}, { +"aabb": AABB(0, 3.5, -10.5, 1e-05, 0.50001, 10.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 2, 0, 3, 0, 1, 0, 0, 0, 3, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 40, 193, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 255, 127) +}, { +"aabb": AABB(0, 3.5, -10.5, 10, 0.50001, 9.53674e-06), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 1, 0, 0, 0, 2, 0, 3, 0, 1, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 255) +}, { +"aabb": AABB(10, 3.5, -10.5, 9.53674e-06, 0.50001, 10.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 1, 0, 0, 0, 2, 0, 3, 0, 0, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 0, 0, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 40, 193, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 127) +}, { +"aabb": AABB(0, 4, -10.5, 10, 1.00136e-05, 10.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 0, 0, 1, 0, 2, 0, 1, 0, 3, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 32, 65, 0, 0, 128, 64, 0, 0, 40, 193, 255, 127, 255, 255, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 40, 193, 255, 127, 255, 255) +}, { +"aabb": AABB(0, 3.5, -10.5, 10, 1.00136e-05, 10.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 2, 0, 3, 0, 0, 0, 3, 0, 1, 0), +"material": SubResource("StandardMaterial3D_usdwx"), +"name": "mat_2", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 255, 127, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 255, 127, 0, 0, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 0, 0) +}] +blend_shape_mode = 0 +shadow_mesh = SubResource("ArrayMesh_g88vf") + +[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_2jhp1"] +points = PackedVector3Array(10, 4, -0.00102711, 10, 3.5, -0.00102711, 10, 4, -10.5, 0, 4, -0.00102711, 0, 3.5, -0.00102711, 10, 3.5, -10.5, 0, 4, -10.5, 0, 3.5, -10.5) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_udj65"] +resource_name = "mat_4" +cull_mode = 2 +vertex_color_use_as_albedo = true +albedo_color = Color(1, 1, 1, 1) +metallic = 1.0 + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ctkk3"] +resource_name = "mat_5" +cull_mode = 2 +vertex_color_use_as_albedo = true +albedo_color = Color(0, 1, 0.835294, 1) +metallic = 1.0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_cjhy7"] +_surfaces = [{ +"aabb": AABB(0.5, 0.5, -10, 9.5, 1.00136e-05, 10), +"format": 4097, +"index_count": 33, +"index_data": PackedByteArray(3, 0, 2, 0, 1, 0, 6, 0, 4, 0, 3, 0, 6, 0, 5, 0, 4, 0, 8, 0, 1, 0, 0, 0, 8, 0, 7, 0, 6, 0, 8, 0, 3, 0, 1, 0, 8, 0, 6, 0, 3, 0, 11, 0, 8, 0, 0, 0, 10, 0, 9, 0, 8, 0, 10, 0, 8, 0, 11, 0, 12, 0, 11, 0, 0, 0), +"name": "mat_3", +"primitive": 3, +"vertex_count": 13, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 192, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 160, 192, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 160, 192, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 224, 192, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 224, 192, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 32, 193) +}, { +"aabb": AABB(6, 0.5, -0.5, 3.5, 3.00001, 1.00136e-05), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 2, 0, 3, 0, 0, 0, 3, 0, 1, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 0, 191) +}, { +"aabb": AABB(0.5, 0.5, -10, 1.00136e-05, 3.00001, 8), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 2, 0, 3, 0, 1, 0, 3, 0, 0, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 192, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 192) +}, { +"aabb": AABB(0, 0, -10.5, 1e-05, 3.50001, 10.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) +}, { +"aabb": AABB(0, 0, -10.5, 10, 3.50001, 9.53674e-06), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 2, 0, 3, 0, 0, 0, 3, 0, 1, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 40, 193) +}, { +"aabb": AABB(10, 0, -10.5, 9.53674e-06, 3.50001, 10.5), +"format": 4097, +"index_count": 18, +"index_data": PackedByteArray(5, 0, 2, 0, 3, 0, 5, 0, 3, 0, 4, 0, 0, 0, 6, 0, 7, 0, 1, 0, 6, 0, 0, 0, 1, 0, 2, 0, 5, 0, 1, 0, 5, 0, 6, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 8, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 160, 192, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 160, 192, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 224, 192, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 224, 192) +}, { +"aabb": AABB(0, 0, 0, 10, 3.50001, 1e-05), +"format": 4097, +"index_count": 18, +"index_data": PackedByteArray(4, 0, 5, 0, 6, 0, 4, 0, 6, 0, 7, 0, 0, 0, 2, 0, 3, 0, 1, 0, 0, 0, 3, 0, 7, 0, 1, 0, 3, 0, 7, 0, 3, 0, 4, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 8, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 0, 0) +}, { +"aabb": AABB(0, 0, -10.5, 10, 1e-05, 10.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 1, 0, 0, 0, 2, 0, 3, 0, 1, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 193) +}, { +"aabb": AABB(0, 3.5, -10.5, 10, 1.00136e-05, 10.5), +"format": 4097, +"index_count": 27, +"index_data": PackedByteArray(6, 0, 5, 0, 2, 0, 3, 0, 2, 0, 5, 0, 4, 0, 3, 0, 5, 0, 7, 0, 6, 0, 0, 0, 8, 0, 10, 0, 9, 0, 1, 0, 10, 0, 8, 0, 1, 0, 7, 0, 0, 0, 1, 0, 8, 0, 7, 0, 0, 0, 6, 0, 2, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 11, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 192, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 224, 192, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 224, 192) +}, { +"aabb": AABB(2, 0.5, -0.5, 2.00001, 3.00001, 1.00136e-05), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 0, 0, 1, 0, 3, 0, 2, 0, 0, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 0, 191) +}, { +"aabb": AABB(4, 0.5, -0.5, 1.00136e-05, 3, 0.50001), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 3, 0, 2, 0, 1, 0, 0, 0, 3, 0), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 0, 0) +}, { +"aabb": AABB(0.5, 0.5, -2, 1.5, 3, 1.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 3, 0, 1, 0, 2, 0, 3, 0, 0, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 192, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 192, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 0, 191) +}, { +"aabb": AABB(6, 0.5, -0.5, 1.00136e-05, 3.00001, 0.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 0, 0) +}, { +"aabb": AABB(6, 3.5, -5, 4.00001, 1.00136e-05, 5.00001), +"format": 4097, +"index_count": 12, +"index_data": PackedByteArray(4, 0, 1, 0, 5, 0, 0, 0, 1, 0, 4, 0, 2, 0, 4, 0, 3, 0, 2, 0, 0, 0, 4, 0), +"name": "mat_0", +"primitive": 3, +"vertex_count": 6, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 160, 192, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 160, 192, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 0, 191) +}, { +"aabb": AABB(9.5, 0.5, -5, 9.53674e-06, 3.00001, 4.5), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 160, 192, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 160, 192, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 0, 191) +}, { +"aabb": AABB(9.5, 0.5, -5, 0.50001, 3.00001, 1.00136e-05), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 1, 0, 0, 0, 2, 0, 3, 0, 1, 0), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 160, 192, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 160, 192, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 160, 192, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 160, 192) +}, { +"aabb": AABB(9.5, 0.5, -7, 0.5, 3.00001, 1.00136e-05), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 224, 192, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 224, 192, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 224, 192, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 224, 192) +}, { +"aabb": AABB(9.5, 0.5, -10, 9.53674e-06, 3.00001, 3), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 0, 0, 2, 0, 1, 0, 0, 0, 3, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 224, 192, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 224, 192) +}, { +"aabb": AABB(0.5, 0.5, -10, 9, 3.00001, 9.53674e-06), +"format": 4097, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 3, 0, 2, 0, 0, 0, 1, 0, 3, 0), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 32, 193) +}] +blend_shape_mode = 0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_3ccu2"] +resource_name = "Godot Test Room 2_root002" +_surfaces = [{ +"aabb": AABB(0.5, 0.5, -10, 9.5, 1.00136e-05, 10), +"format": 4099, +"index_count": 33, +"index_data": PackedByteArray(3, 0, 2, 0, 1, 0, 6, 0, 4, 0, 3, 0, 6, 0, 5, 0, 4, 0, 8, 0, 1, 0, 0, 0, 8, 0, 7, 0, 6, 0, 8, 0, 3, 0, 1, 0, 8, 0, 6, 0, 3, 0, 11, 0, 8, 0, 0, 0, 10, 0, 9, 0, 8, 0, 10, 0, 8, 0, 11, 0, 12, 0, 11, 0, 0, 0), +"material": ExtResource("1_vllwq"), +"name": "mat_3", +"primitive": 3, +"vertex_count": 13, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 32, 193, 255, 127, 255, 255, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 192, 255, 127, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 0, 191, 255, 127, 255, 255, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 0, 191, 255, 127, 255, 255, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 0, 191, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 0, 191, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 160, 192, 255, 127, 255, 255, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 160, 192, 255, 127, 255, 255, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 224, 192, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 224, 192, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 32, 193, 255, 127, 255, 255) +}, { +"aabb": AABB(6, 0.5, -0.5, 3.5, 3.00001, 1.00136e-05), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 2, 0, 3, 0, 0, 0, 3, 0, 1, 0), +"material": SubResource("StandardMaterial3D_udj65"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 0, 191, 255, 255, 255, 255, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 0, 191, 255, 255, 255, 255, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 0, 191, 255, 255, 255, 255, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 0, 191, 255, 255, 255, 255) +}, { +"aabb": AABB(0.5, 0.5, -10, 1.00136e-05, 3.00001, 8), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 2, 0, 3, 0, 1, 0, 3, 0, 0, 0), +"material": ExtResource("1_1krjo"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 32, 193, 255, 255, 255, 127, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 32, 193, 255, 255, 255, 127, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 192, 255, 255, 255, 127, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 192, 255, 255, 255, 127) +}, { +"aabb": AABB(0, 0, -10.5, 1e-05, 3.50001, 10.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 193, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127) +}, { +"aabb": AABB(0, 0, -10.5, 10, 3.50001, 9.53674e-06), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 2, 0, 3, 0, 0, 0, 3, 0, 1, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 193, 255, 255, 255, 255, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 40, 193, 255, 255, 255, 255) +}, { +"aabb": AABB(10, 0, -10.5, 9.53674e-06, 3.50001, 10.5), +"format": 4099, +"index_count": 18, +"index_data": PackedByteArray(5, 0, 2, 0, 3, 0, 5, 0, 3, 0, 4, 0, 0, 0, 6, 0, 7, 0, 1, 0, 6, 0, 0, 0, 1, 0, 2, 0, 5, 0, 1, 0, 5, 0, 6, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 8, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 40, 193, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 160, 192, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 160, 192, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 224, 192, 255, 255, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 224, 192, 255, 255, 255, 127) +}, { +"aabb": AABB(0, 0, 0, 10, 3.50001, 1e-05), +"format": 4099, +"index_count": 18, +"index_data": PackedByteArray(4, 0, 5, 0, 6, 0, 4, 0, 6, 0, 7, 0, 0, 0, 2, 0, 3, 0, 1, 0, 0, 0, 3, 0, 7, 0, 1, 0, 3, 0, 7, 0, 3, 0, 4, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 8, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 127, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 255, 127) +}, { +"aabb": AABB(0, 0, -10.5, 10, 1e-05, 10.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 1, 0, 0, 0, 2, 0, 3, 0, 1, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 32, 65, 0, 0, 0, 0, 0, 0, 40, 193, 255, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 193, 255, 127, 0, 0) +}, { +"aabb": AABB(0, 3.5, -10.5, 10, 1.00136e-05, 10.5), +"format": 4099, +"index_count": 27, +"index_data": PackedByteArray(6, 0, 5, 0, 2, 0, 3, 0, 2, 0, 5, 0, 4, 0, 3, 0, 5, 0, 7, 0, 6, 0, 0, 0, 8, 0, 10, 0, 9, 0, 1, 0, 10, 0, 8, 0, 1, 0, 7, 0, 0, 0, 1, 0, 8, 0, 7, 0, 0, 0, 6, 0, 2, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 11, +"vertex_data": PackedByteArray(0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 40, 193, 255, 127, 255, 255, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 40, 193, 255, 127, 255, 255, 0, 0, 0, 0, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 0, 191, 255, 127, 255, 255, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 0, 191, 255, 127, 255, 255, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 192, 255, 127, 255, 255, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 224, 192, 255, 127, 255, 255, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 224, 192, 255, 127, 255, 255) +}, { +"aabb": AABB(2, 0.5, -0.5, 2.00001, 3.00001, 1.00136e-05), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 0, 0, 1, 0, 3, 0, 2, 0, 0, 0), +"material": ExtResource("1_1krjo"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 0, 191, 255, 255, 255, 255, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 0, 191, 255, 255, 255, 255, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 0, 191, 255, 255, 255, 255, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 0, 191, 255, 255, 255, 255) +}, { +"aabb": AABB(4, 0.5, -0.5, 1.00136e-05, 3, 0.50001), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 3, 0, 2, 0, 1, 0, 0, 0, 3, 0), +"material": SubResource("StandardMaterial3D_ctkk3"), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 0, 0, 255, 255, 255, 127, 0, 0, 128, 64, 0, 0, 0, 63, 0, 0, 0, 191, 255, 255, 255, 127, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 0, 191, 255, 255, 255, 127, 0, 0, 128, 64, 0, 0, 96, 64, 0, 0, 0, 0, 255, 255, 255, 127) +}, { +"aabb": AABB(0.5, 0.5, -2, 1.5, 3, 1.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 3, 0, 1, 0, 2, 0, 3, 0, 0, 0), +"material": ExtResource("1_1krjo"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 192, 255, 255, 255, 191, 0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 0, 192, 255, 255, 255, 191, 0, 0, 0, 64, 0, 0, 0, 63, 0, 0, 0, 191, 255, 255, 255, 191, 0, 0, 0, 64, 0, 0, 96, 64, 0, 0, 0, 191, 255, 255, 255, 191) +}, { +"aabb": AABB(6, 0.5, -0.5, 1.00136e-05, 3.00001, 0.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"material": SubResource("StandardMaterial3D_ctkk3"), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 255, 127, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 255, 127, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 0, 0, 0, 0, 255, 127, 0, 0, 192, 64, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 255, 127) +}, { +"aabb": AABB(6, 3.5, -5, 4.00001, 1.00136e-05, 5.00001), +"format": 4099, +"index_count": 12, +"index_data": PackedByteArray(4, 0, 1, 0, 5, 0, 0, 0, 1, 0, 4, 0, 2, 0, 4, 0, 3, 0, 2, 0, 0, 0, 4, 0), +"material": SubResource("StandardMaterial3D_cv8mf"), +"name": "mat_0", +"primitive": 3, +"vertex_count": 6, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 160, 192, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 160, 192, 255, 127, 255, 255, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 0, 191, 255, 127, 255, 255, 0, 0, 192, 64, 0, 0, 96, 64, 0, 0, 0, 191, 255, 127, 255, 255) +}, { +"aabb": AABB(9.5, 0.5, -5, 9.53674e-06, 3.00001, 4.5), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"material": ExtResource("1_1krjo"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 160, 192, 0, 0, 255, 127, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 160, 192, 0, 0, 255, 127, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 0, 191, 0, 0, 255, 127, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 255, 127) +}, { +"aabb": AABB(9.5, 0.5, -5, 0.50001, 3.00001, 1.00136e-05), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(2, 0, 1, 0, 0, 0, 2, 0, 3, 0, 1, 0), +"material": SubResource("StandardMaterial3D_ctkk3"), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 160, 192, 255, 255, 255, 255, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 160, 192, 255, 255, 255, 255, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 160, 192, 255, 255, 255, 255, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 160, 192, 255, 255, 255, 255) +}, { +"aabb": AABB(9.5, 0.5, -7, 0.5, 3.00001, 1.00136e-05), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(1, 0, 0, 0, 2, 0, 1, 0, 2, 0, 3, 0), +"material": SubResource("StandardMaterial3D_ctkk3"), +"name": "mat_5", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 224, 192, 255, 127, 255, 127, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 224, 192, 255, 127, 255, 127, 0, 0, 32, 65, 0, 0, 96, 64, 0, 0, 224, 192, 255, 127, 255, 127, 0, 0, 32, 65, 0, 0, 0, 63, 0, 0, 224, 192, 255, 127, 255, 127) +}, { +"aabb": AABB(9.5, 0.5, -10, 9.53674e-06, 3.00001, 3), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(3, 0, 0, 0, 2, 0, 1, 0, 0, 0, 3, 0), +"material": ExtResource("1_1krjo"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 32, 193, 0, 0, 255, 127, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 32, 193, 0, 0, 255, 127, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 224, 192, 0, 0, 255, 127, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 224, 192, 0, 0, 255, 127) +}, { +"aabb": AABB(0.5, 0.5, -10, 9, 3.00001, 9.53674e-06), +"format": 4099, +"index_count": 6, +"index_data": PackedByteArray(0, 0, 3, 0, 2, 0, 0, 0, 1, 0, 3, 0), +"material": ExtResource("1_1krjo"), +"name": "mat_4", +"primitive": 3, +"vertex_count": 4, +"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 127, 0, 0, 24, 65, 0, 0, 96, 64, 0, 0, 32, 193, 255, 127, 255, 127, 0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 32, 193, 255, 127, 255, 127, 0, 0, 24, 65, 0, 0, 0, 63, 0, 0, 32, 193, 255, 127, 255, 127) +}] +blend_shape_mode = 0 +shadow_mesh = SubResource("ArrayMesh_cjhy7") + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_nwucb"] +data = PackedVector3Array(4, 0.5, -0.5, 2, 0.5, -0.5, 0.5, 0.5, -2, 6, 0.5, -0.5, 4, 0.5, 0, 4, 0.5, -0.5, 6, 0.5, -0.5, 6, 0.5, 0, 4, 0.5, 0, 9.5, 0.5, -5, 0.5, 0.5, -2, 0.5, 0.5, -10, 9.5, 0.5, -5, 9.5, 0.5, -0.5, 6, 0.5, -0.5, 9.5, 0.5, -5, 4, 0.5, -0.5, 0.5, 0.5, -2, 9.5, 0.5, -5, 6, 0.5, -0.5, 4, 0.5, -0.5, 9.5, 0.5, -7, 9.5, 0.5, -5, 0.5, 0.5, -10, 10, 0.5, -7, 10, 0.5, -5, 9.5, 0.5, -5, 10, 0.5, -7, 9.5, 0.5, -5, 9.5, 0.5, -7, 9.5, 0.5, -10, 9.5, 0.5, -7, 0.5, 0.5, -10, 6, 3.5, -0.5, 6, 0.5, -0.5, 9.5, 0.5, -0.5, 6, 3.5, -0.5, 9.5, 0.5, -0.5, 9.5, 3.5, -0.5, 0.5, 0.5, -10, 0.5, 0.5, -2, 0.5, 3.5, -2, 0.5, 0.5, -10, 0.5, 3.5, -2, 0.5, 3.5, -10, 0, 0, -10.5, 0, 3.5, -10.5, 0, 3.5, 0, 0, 0, -10.5, 0, 3.5, 0, 0, 0, 0, 0, 3.5, -10.5, 0, 0, -10.5, 10, 0, -10.5, 0, 3.5, -10.5, 10, 0, -10.5, 10, 3.5, -10.5, 10, 0.5, -5, 10, 0, 0, 10, 3.5, 0, 10, 0.5, -5, 10, 3.5, 0, 10, 3.5, -5, 10, 3.5, -10.5, 10, 0.5, -7, 10, 3.5, -7, 10, 0, -10.5, 10, 0.5, -7, 10, 3.5, -10.5, 10, 0, -10.5, 10, 0, 0, 10, 0.5, -5, 10, 0, -10.5, 10, 0.5, -5, 10, 0.5, -7, 6, 0.5, 0, 6, 3.5, 0, 10, 3.5, 0, 6, 0.5, 0, 10, 3.5, 0, 10, 0, 0, 0, 3.5, 0, 4, 3.5, 0, 4, 0.5, 0, 0, 0, 0, 0, 3.5, 0, 4, 0.5, 0, 10, 0, 0, 0, 0, 0, 4, 0.5, 0, 10, 0, 0, 4, 0.5, 0, 6, 0.5, 0, 10, 0, -10.5, 0, 0, 0, 10, 0, 0, 10, 0, -10.5, 0, 0, -10.5, 0, 0, 0, 0.5, 3.5, -2, 2, 3.5, -0.5, 0, 3.5, 0, 4, 3.5, 0, 0, 3.5, 0, 2, 3.5, -0.5, 4, 3.5, -0.5, 4, 3.5, 0, 2, 3.5, -0.5, 0.5, 3.5, -10, 0.5, 3.5, -2, 0, 3.5, -10.5, 9.5, 3.5, -10, 10, 3.5, -7, 9.5, 3.5, -7, 10, 3.5, -10.5, 10, 3.5, -7, 9.5, 3.5, -10, 10, 3.5, -10.5, 0.5, 3.5, -10, 0, 3.5, -10.5, 10, 3.5, -10.5, 9.5, 3.5, -10, 0.5, 3.5, -10, 0, 3.5, -10.5, 0.5, 3.5, -2, 0, 3.5, 0, 2, 0.5, -0.5, 4, 3.5, -0.5, 2, 3.5, -0.5, 2, 0.5, -0.5, 4, 0.5, -0.5, 4, 3.5, -0.5, 4, 0.5, -0.5, 4, 3.5, 0, 4, 3.5, -0.5, 4, 0.5, -0.5, 4, 0.5, 0, 4, 3.5, 0, 0.5, 0.5, -2, 2, 3.5, -0.5, 0.5, 3.5, -2, 2, 0.5, -0.5, 2, 3.5, -0.5, 0.5, 0.5, -2, 6, 0.5, -0.5, 6, 3.5, -0.5, 6, 3.5, 0, 6, 0.5, -0.5, 6, 3.5, 0, 6, 0.5, 0, 9.5, 3.5, -0.5, 6, 3.5, 0, 6, 3.5, -0.5, 10, 3.5, 0, 6, 3.5, 0, 9.5, 3.5, -0.5, 10, 3.5, -5, 9.5, 3.5, -0.5, 9.5, 3.5, -5, 10, 3.5, -5, 10, 3.5, 0, 9.5, 3.5, -0.5, 9.5, 0.5, -5, 9.5, 3.5, -5, 9.5, 3.5, -0.5, 9.5, 0.5, -5, 9.5, 3.5, -0.5, 9.5, 0.5, -0.5, 9.5, 3.5, -5, 10, 0.5, -5, 10, 3.5, -5, 9.5, 3.5, -5, 9.5, 0.5, -5, 10, 0.5, -5, 9.5, 0.5, -7, 9.5, 3.5, -7, 10, 3.5, -7, 9.5, 0.5, -7, 10, 3.5, -7, 10, 0.5, -7, 9.5, 0.5, -7, 9.5, 3.5, -10, 9.5, 3.5, -7, 9.5, 0.5, -10, 9.5, 3.5, -10, 9.5, 0.5, -7, 0.5, 3.5, -10, 9.5, 0.5, -10, 0.5, 0.5, -10, 0.5, 3.5, -10, 9.5, 3.5, -10, 9.5, 0.5, -10) + +[node name="Godot Test Room 2" type="Node3D"] + +[node name="root003" type="StaticBody3D" parent="."] + +[node name="Corner Block" type="MeshInstance3D" parent="root003"] +mesh = SubResource("ArrayMesh_ojawf") +skeleton = NodePath("") + +[node name="Ceiling" type="MeshInstance3D" parent="root003"] +mesh = SubResource("ArrayMesh_k0hly") +skeleton = NodePath("") + +[node name="Ceiling Collider" type="CollisionShape3D" parent="root003"] +shape = SubResource("ConvexPolygonShape3D_2jhp1") + +[node name="Room" type="MeshInstance3D" parent="root003"] +mesh = SubResource("ArrayMesh_3ccu2") +skeleton = NodePath("") + +[node name="Room Collider" type="CollisionShape3D" parent="root003"] +shape = SubResource("ConcavePolygonShape3D_nwucb") + +[node name="OmniLight3D" type="OmniLight3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.0423, 3.19803, -5.23849) +omni_range = 14.425 +omni_attenuation = 0.019915 diff --git a/rooms/room_3.tscn b/rooms/room_3.tscn new file mode 100644 index 0000000..c92817c --- /dev/null +++ b/rooms/room_3.tscn @@ -0,0 +1,24 @@ +[gd_scene load_steps=4 format=3 uid="uid://c58icecs1atwu"] + +[ext_resource type="PackedScene" uid="uid://dj2cfrnm2vefv" path="res://assets/Godot Test Room 3.gltf" id="1_41xh5"] + +[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_usw5m"] +points = PackedVector3Array(10, 4, -0.00102711, 10, 3.5, -0.00102711, 10, 4, -10.5, 0, 4, -0.00102711, 0, 3.5, -0.00102711, 10, 3.5, -10.5, 0, 4, -10.5, 0, 3.5, -10.5) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_0iu14"] +data = PackedVector3Array(6, 0.5, -10, 8, 0.5, -10, 9.5, 0.5, -8.5, 4, 0.5, -10, 6, 0.5, -10.5, 6, 0.5, -10, 4, 0.5, -10, 4, 0.5, -10.5, 6, 0.5, -10.5, 0.5, 0.5, -5.5, 9.5, 0.5, -8.5, 9.5, 0.5, -0.5, 0.5, 0.5, -5.5, 0.5, 0.5, -10, 4, 0.5, -10, 0.5, 0.5, -5.5, 6, 0.5, -10, 9.5, 0.5, -8.5, 0.5, 0.5, -5.5, 4, 0.5, -10, 6, 0.5, -10, 0.5, 0.5, -3.5, 0.5, 0.5, -5.5, 9.5, 0.5, -0.5, 0, 0.5, -3.5, 0, 0.5, -5.5, 0.5, 0.5, -5.5, 0, 0.5, -3.5, 0.5, 0.5, -5.5, 0.5, 0.5, -3.5, 0.5, 0.5, -0.5, 0.5, 0.5, -3.5, 9.5, 0.5, -0.5, 4, 3.5, -10, 4, 0.5, -10, 0.5, 0.5, -10, 4, 3.5, -10, 0.5, 0.5, -10, 0.5, 3.5, -10, 9.5, 0.5, -0.5, 9.5, 0.5, -8.5, 9.5, 3.5, -8.5, 9.5, 0.5, -0.5, 9.5, 3.5, -8.5, 9.5, 3.5, -0.5, 10, 0, 0, 10, 3.5, 0, 10, 3.5, -10.5, 10, 0, 0, 10, 3.5, -10.5, 10, 0, -10.5, 10, 3.5, 0, 10, 0, 0, 0, 0, 0, 10, 3.5, 0, 0, 0, 0, 0, 3.5, 0, 0, 0.5, -5.5, 0, 0, -10.5, 0, 3.5, -10.5, 0, 0.5, -5.5, 0, 3.5, -10.5, 0, 3.5, -5.5, 0, 3.5, 0, 0, 0.5, -3.5, 0, 3.5, -3.5, 0, 0, 0, 0, 0.5, -3.5, 0, 3.5, 0, 0, 0, 0, 0, 0, -10.5, 0, 0.5, -5.5, 0, 0, 0, 0, 0.5, -5.5, 0, 0.5, -3.5, 4, 0.5, -10.5, 4, 3.5, -10.5, 0, 3.5, -10.5, 4, 0.5, -10.5, 0, 3.5, -10.5, 0, 0, -10.5, 10, 3.5, -10.5, 6, 3.5, -10.5, 6, 0.5, -10.5, 10, 0, -10.5, 10, 3.5, -10.5, 6, 0.5, -10.5, 0, 0, -10.5, 10, 0, -10.5, 6, 0.5, -10.5, 0, 0, -10.5, 6, 0.5, -10.5, 4, 0.5, -10.5, 0, 0, 0, 10, 0, -10.5, 0, 0, -10.5, 0, 0, 0, 10, 0, 0, 10, 0, -10.5, 9.5, 3.5, -8.5, 8, 3.5, -10, 10, 3.5, -10.5, 6, 3.5, -10.5, 10, 3.5, -10.5, 8, 3.5, -10, 6, 3.5, -10, 6, 3.5, -10.5, 8, 3.5, -10, 9.5, 3.5, -0.5, 9.5, 3.5, -8.5, 10, 3.5, 0, 0.5, 3.5, -0.5, 0, 3.5, -3.5, 0.5, 3.5, -3.5, 0, 3.5, 0, 0, 3.5, -3.5, 0.5, 3.5, -0.5, 0, 3.5, 0, 9.5, 3.5, -0.5, 10, 3.5, 0, 0, 3.5, 0, 0.5, 3.5, -0.5, 9.5, 3.5, -0.5, 10, 3.5, 0, 9.5, 3.5, -8.5, 10, 3.5, -10.5, 8, 0.5, -10, 6, 3.5, -10, 8, 3.5, -10, 8, 0.5, -10, 6, 0.5, -10, 6, 3.5, -10, 6, 0.5, -10, 6, 3.5, -10.5, 6, 3.5, -10, 6, 0.5, -10, 6, 0.5, -10.5, 6, 3.5, -10.5, 9.5, 0.5, -8.5, 8, 3.5, -10, 9.5, 3.5, -8.5, 8, 0.5, -10, 8, 3.5, -10, 9.5, 0.5, -8.5, 4, 0.5, -10, 4, 3.5, -10, 4, 3.5, -10.5, 4, 0.5, -10, 4, 3.5, -10.5, 4, 0.5, -10.5, 0.5, 3.5, -10, 4, 3.5, -10.5, 4, 3.5, -10, 0, 3.5, -10.5, 4, 3.5, -10.5, 0.5, 3.5, -10, 0, 3.5, -5.5, 0.5, 3.5, -10, 0.5, 3.5, -5.5, 0, 3.5, -5.5, 0, 3.5, -10.5, 0.5, 3.5, -10, 0.5, 0.5, -5.5, 0.5, 3.5, -5.5, 0.5, 3.5, -10, 0.5, 0.5, -5.5, 0.5, 3.5, -10, 0.5, 0.5, -10, 0.5, 3.5, -5.5, 0, 0.5, -5.5, 0, 3.5, -5.5, 0.5, 3.5, -5.5, 0.5, 0.5, -5.5, 0, 0.5, -5.5, 0.5, 0.5, -3.5, 0.5, 3.5, -3.5, 0, 3.5, -3.5, 0.5, 0.5, -3.5, 0, 3.5, -3.5, 0, 0.5, -3.5, 0.5, 0.5, -3.5, 0.5, 3.5, -0.5, 0.5, 3.5, -3.5, 0.5, 0.5, -0.5, 0.5, 3.5, -0.5, 0.5, 0.5, -3.5, 9.5, 3.5, -0.5, 0.5, 0.5, -0.5, 9.5, 0.5, -0.5, 9.5, 3.5, -0.5, 0.5, 3.5, -0.5, 0.5, 0.5, -0.5) + +[node name="Room 3" type="StaticBody3D"] + +[node name="Godot Test Room 3" parent="." instance=ExtResource("1_41xh5")] + +[node name="Ceiling Collider" type="CollisionShape3D" parent="."] +shape = SubResource("ConvexPolygonShape3D_usw5m") + +[node name="Room Collider" type="CollisionShape3D" parent="."] +shape = SubResource("ConcavePolygonShape3D_0iu14") + +[node name="OmniLight3D" type="OmniLight3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.0423, 3.19803, -5.23849) +omni_range = 14.425 +omni_attenuation = 0.019915 diff --git a/rooms/room_4.tscn b/rooms/room_4.tscn new file mode 100644 index 0000000..e241989 --- /dev/null +++ b/rooms/room_4.tscn @@ -0,0 +1,24 @@ +[gd_scene load_steps=4 format=3 uid="uid://df11aw1aclv6d"] + +[ext_resource type="PackedScene" uid="uid://d2cru2533cod2" path="res://assets/Godot Test Room 4.gltf" id="1_k1kmb"] + +[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_jb552"] +points = PackedVector3Array(10, 4, -0.00102711, 10, 3.5, -0.00102711, 10, 4, -10.5, 0, 4, -0.00102711, 0, 3.5, -0.00102711, 10, 3.5, -10.5, 0, 4, -10.5, 0, 3.5, -10.5) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_2pi3d"] +data = PackedVector3Array(0.5, 0.5, -7, 9.5, 0.5, -10, 9.5, 0.5, -2, 0.5, 0.5, -7, 0.5, 0.5, -10, 9.5, 0.5, -10, 6, 0.5, -0.5, 9.5, 0.5, -2, 8, 0.5, -0.5, 0.5, 0.5, -5, 0.5, 0.5, -7, 9.5, 0.5, -2, 0.5, 0.5, -5, 9.5, 0.5, -2, 6, 0.5, -0.5, 0, 0.5, -5, 0, 0.5, -7, 0.5, 0.5, -7, 0, 0.5, -5, 0.5, 0.5, -7, 0.5, 0.5, -5, 4, 0.5, -0.5, 0.5, 0.5, -5, 6, 0.5, -0.5, 4, 0.5, 0, 6, 0.5, -0.5, 6, 0.5, 0, 4, 0.5, 0, 4, 0.5, -0.5, 6, 0.5, -0.5, 0.5, 0.5, -0.5, 0.5, 0.5, -5, 4, 0.5, -0.5, 0.5, 3.5, -0.5, 0.5, 0.5, -0.5, 4, 0.5, -0.5, 0.5, 3.5, -0.5, 4, 0.5, -0.5, 4, 3.5, -0.5, 9.5, 3.5, -10, 9.5, 3.5, -2, 9.5, 0.5, -2, 9.5, 3.5, -10, 9.5, 0.5, -2, 9.5, 0.5, -10, 10, 0, 0, 10, 3.5, 0, 10, 3.5, -10.5, 10, 0, 0, 10, 3.5, -10.5, 10, 0, -10.5, 0, 3.5, -10.5, 0, 0, -10.5, 10, 0, -10.5, 0, 3.5, -10.5, 10, 0, -10.5, 10, 3.5, -10.5, 0, 0.5, -5, 0, 3.5, 0, 0, 0, 0, 0, 3.5, -5, 0, 3.5, 0, 0, 0.5, -5, 0, 0, -10.5, 0, 0.5, -7, 0, 0.5, -5, 0, 0, -10.5, 0, 0.5, -5, 0, 0, 0, 0, 3.5, -10.5, 0, 3.5, -7, 0, 0.5, -7, 0, 3.5, -10.5, 0, 0.5, -7, 0, 0, -10.5, 6, 0.5, 0, 6, 3.5, 0, 10, 3.5, 0, 6, 0.5, 0, 10, 3.5, 0, 10, 0, 0, 0, 3.5, 0, 4, 3.5, 0, 4, 0.5, 0, 0, 0, 0, 0, 3.5, 0, 4, 0.5, 0, 10, 0, 0, 0, 0, 0, 4, 0.5, 0, 10, 0, 0, 4, 0.5, 0, 6, 0.5, 0, 0, 0, 0, 10, 0, -10.5, 0, 0, -10.5, 0, 0, 0, 10, 0, 0, 10, 0, -10.5, 9.5, 3.5, -2, 9.5, 3.5, -10, 10, 3.5, -10.5, 0.5, 3.5, -10, 0, 3.5, -10.5, 10, 3.5, -10.5, 0.5, 3.5, -10, 10, 3.5, -10.5, 9.5, 3.5, -10, 8, 3.5, -0.5, 9.5, 3.5, -2, 10, 3.5, 0, 0, 3.5, -7, 0.5, 3.5, -10, 0.5, 3.5, -7, 0, 3.5, -7, 0, 3.5, -10.5, 0.5, 3.5, -10, 6, 3.5, 0, 6, 3.5, -0.5, 8, 3.5, -0.5, 6, 3.5, 0, 8, 3.5, -0.5, 10, 3.5, 0, 10, 3.5, 0, 9.5, 3.5, -2, 10, 3.5, -10.5, 6, 0.5, -0.5, 8, 3.5, -0.5, 6, 3.5, -0.5, 6, 0.5, -0.5, 8, 0.5, -0.5, 8, 3.5, -0.5, 6, 0.5, 0, 6, 3.5, -0.5, 6, 3.5, 0, 6, 0.5, 0, 6, 0.5, -0.5, 6, 3.5, -0.5, 9.5, 0.5, -2, 8, 3.5, -0.5, 8, 0.5, -0.5, 9.5, 0.5, -2, 9.5, 3.5, -2, 8, 3.5, -0.5, 4, 0.5, 0, 4, 3.5, 0, 4, 3.5, -0.5, 4, 0.5, 0, 4, 3.5, -0.5, 4, 0.5, -0.5, 0.5, 3.5, -0.5, 4, 3.5, -0.5, 4, 3.5, 0, 0.5, 3.5, -0.5, 0, 3.5, -5, 0.5, 3.5, -5, 0, 3.5, 0, 0.5, 3.5, -0.5, 4, 3.5, 0, 0, 3.5, 0, 0, 3.5, -5, 0.5, 3.5, -0.5, 0.5, 0.5, -0.5, 0.5, 3.5, -0.5, 0.5, 3.5, -5, 0.5, 0.5, -0.5, 0.5, 3.5, -5, 0.5, 0.5, -5, 0, 3.5, -5, 0.5, 0.5, -5, 0.5, 3.5, -5, 0, 3.5, -5, 0, 0.5, -5, 0.5, 0.5, -5, 0, 0.5, -7, 0, 3.5, -7, 0.5, 3.5, -7, 0, 0.5, -7, 0.5, 3.5, -7, 0.5, 0.5, -7, 0.5, 0.5, -10, 0.5, 3.5, -7, 0.5, 3.5, -10, 0.5, 0.5, -7, 0.5, 3.5, -7, 0.5, 0.5, -10, 0.5, 3.5, -10, 9.5, 0.5, -10, 0.5, 0.5, -10, 0.5, 3.5, -10, 9.5, 3.5, -10, 9.5, 0.5, -10) + +[node name="Room 4" type="StaticBody3D"] + +[node name="Godot Test Room 4" parent="." instance=ExtResource("1_k1kmb")] + +[node name="Ceiling Collider" type="CollisionShape3D" parent="."] +shape = SubResource("ConvexPolygonShape3D_jb552") + +[node name="Room Collider" type="CollisionShape3D" parent="."] +shape = SubResource("ConcavePolygonShape3D_2pi3d") + +[node name="OmniLight3D" type="OmniLight3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.0423, 3.19803, -5.23849) +omni_range = 14.425 +omni_attenuation = 0.019915