[gd_scene load_steps=30 format=3 uid="uid://dnmetcwb14svi"]

[ext_resource type="Material" uid="uid://chag8j6kyegq0" path="res://packs/Kaykit-Proto/materials/floor.tres" id="1_b53sv"]
[ext_resource type="PackedScene" uid="uid://qbceryqqfoum" path="res://packs/Kaykit-Proto/obj/dummy.tscn" id="2_40027"]
[ext_resource type="ArrayMesh" uid="uid://cii0xstywuncw" path="res://packs/Kaykit-Proto/obj/Barrel_A.obj" id="3_afokq"]
[ext_resource type="ArrayMesh" uid="uid://ctwlo3t2cvi42" path="res://packs/Kaykit-Proto/obj/Box_A.obj" id="4_mqp7f"]
[ext_resource type="ArrayMesh" uid="uid://dj5nhomlun7km" path="res://packs/Kaykit-Proto/obj/Box_B.obj" id="5_ipipj"]
[ext_resource type="Texture2D" uid="uid://bsnc11pwypbny" path="res://packs/Kaykit-Proto/obj/prototypebits_texture.png" id="6_anror"]
[ext_resource type="ArrayMesh" uid="uid://clfdc3wo1fn0c" path="res://packs/Kaykit-Proto/obj/Cube_Prototype_Small.obj" id="7_f8cpb"]
[ext_resource type="PackedScene" uid="uid://djj1fc8qm10t6" path="res://core/base-classes/player.tscn" id="8_mqp7f"]
[ext_resource type="VoxelGIData" uid="uid://cubwphu04tyr4" path="res://generated/gym.VoxelGI_data.res" id="9_ipipj"]
[ext_resource type="ArrayMesh" uid="uid://c0uahqnc6dx6r" path="res://packs/Kaykit-Proto/obj/Box_C.obj" id="10_iyjuv"]
[ext_resource type="ArrayMesh" uid="uid://bde4cc1kjchsk" path="res://packs/Kaykit-Proto/obj/Door_A_Decorated.obj" id="11_gfgny"]
[ext_resource type="ArrayMesh" uid="uid://d4n0x5r84ss2i" path="res://packs/Kaykit-Proto/obj/Pallet_Large.obj" id="12_aw2pe"]
[ext_resource type="ArrayMesh" uid="uid://bv17be80qoceb" path="res://packs/Kaykit-Proto/obj/Pallet_Small.obj" id="13_t4e8t"]
[ext_resource type="ArrayMesh" uid="uid://c7djvycyt44is" path="res://packs/Kaykit-Proto/obj/Primitive_Slope.obj" id="14_86fmv"]
[ext_resource type="ArrayMesh" uid="uid://cm3on062k620s" path="res://packs/Kaykit-Proto/obj/Primitive_Stairs.obj" id="15_v6mjl"]
[ext_resource type="ArrayMesh" uid="uid://74kfatfops1y" path="res://packs/Kaykit-Proto/obj/Primitive_Stairs_Half.obj" id="16_kvtwj"]
[ext_resource type="ArrayMesh" uid="uid://b4mntq3ejtcuo" path="res://packs/Kaykit-Proto/obj/Primitive_Wall.obj" id="17_26j3w"]
[ext_resource type="ArrayMesh" uid="uid://c0hlbrieabc2g" path="res://packs/Kaykit-Proto/obj/Primitive_Window.obj" id="18_kjqju"]
[ext_resource type="ArrayMesh" uid="uid://b368b7vyej1fk" path="res://packs/Kaykit-Proto/obj/table_medium_Decorated.obj" id="19_fypju"]
[ext_resource type="ArrayMesh" uid="uid://wcyh5hwirci" path="res://packs/Kaykit-Proto/obj/Wall_Doorway.obj" id="20_j11kn"]
[ext_resource type="ArrayMesh" uid="uid://di584vn1afti7" path="res://packs/Kaykit-Proto/obj/Primitive_Floor.obj" id="21_unwmg"]

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_vkxe1"]
sky_top_color = Color(0.299981, 0.701967, 0.743086, 1)
sky_horizon_color = Color(0.672941, 0.769022, 0.774332, 1)
ground_bottom_color = Color(0.0872869, 0.0696248, 0.0497472, 1)
ground_horizon_color = Color(0.672941, 0.769022, 0.774332, 1)
energy_multiplier = 2.0

[sub_resource type="Sky" id="Sky_607fo"]
sky_material = SubResource("ProceduralSkyMaterial_vkxe1")

[sub_resource type="Environment" id="Environment_lefpg"]
resource_name = "gym_env"
background_mode = 2
sky = SubResource("Sky_607fo")
ambient_light_sky_contribution = 0.26
tonemap_mode = 2
ssao_enabled = true
glow_enabled = true
volumetric_fog_enabled = true
volumetric_fog_density = 0.0065

[sub_resource type="BoxMesh" id="BoxMesh_afokq"]
resource_local_to_scene = true
resource_name = "floor_mesh"
lightmap_size_hint = Vector2i(103, 59)
uv2_padding = 0.0
size = Vector3(10, 0.3, 10)
subdivide_width = 5
subdivide_depth = 5

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mqp7f"]
albedo_texture = ExtResource("6_anror")

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_uesmb"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_aq7w3"]
resource_local_to_scene = true
resource_name = "proto_rigid"
albedo_color = Color(0.851596, 0.595055, 0.0370191, 1)
albedo_texture = ExtResource("6_anror")

[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_afokq"]
points = PackedVector3Array(-0.953959, 0.0770701, -0.923111, 0.995482, 1.90217, 0.902347, 0.953931, 1.92294, 0.923125, 0.902243, 1.90211, -0.99565, -0.902341, 1.99532, 0.902338, 0.902311, 0.00466377, 0.902352, -0.902272, 0.097907, 0.995635, 0.995482, 0.0978295, -0.902347, -0.99551, 1.90216, -0.902333, 0.902311, 1.99534, -0.902352, -0.99551, 0.0978435, 0.902333, 0.902243, 1.90211, 0.99565, -0.902272, 0.097907, -0.995635, -0.902341, 0.00467924, -0.902338, 0.902243, 0.097893, -0.99565, -0.902272, 1.90209, -0.995635, 0.902243, 0.097893, 0.99565, -0.902272, 1.90209, 0.995635, 0.902311, 0.00466377, -0.902352, -0.902341, 1.99532, -0.902338, -0.902341, 0.00467924, 0.902338, 0.995482, 0.0978295, 0.902347, 0.995482, 1.90217, -0.902347, -0.99551, 1.90216, 0.902333, 0.902311, 1.99534, 0.902352, -0.99551, 0.0978435, -0.902333)

[node name="Gym" type="Node"]

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_lefpg")

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.8660253, -0.4330129, 0.2500001, 0, 0.49999994, 0.86602545, -0.50000024, 0.74999994, -0.43301257, 0, 11.697451, 0)
light_energy = 1.3
shadow_enabled = true
directional_shadow_max_distance = 500.0

[node name="CSGMesh3D" type="CSGMesh3D" parent="."]
transform = Transform3D(5.015, 0, 0, 0, 1, 0, 0, 0, 6.05, 0, -0.125, 0)
material_override = ExtResource("1_b53sv")
use_collision = true
mesh = SubResource("BoxMesh_afokq")

[node name="dummy" parent="." instance=ExtResource("2_40027")]
transform = Transform3D(0.232937, 0, -0.869333, 0, 0.9, 0, 0.869333, 0, 0.232937, 1.63629, 0, 5.28206)

[node name="BarrelA" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.46089, 0.469088, -5.67514)
material_override = SubResource("StandardMaterial3D_mqp7f")
mesh = ExtResource("3_afokq")

[node name="BoxA" type="MeshInstance3D" parent="."]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 4.69587, 0, 0.473738)
mesh = ExtResource("4_mqp7f")

[node name="BoxB" type="MeshInstance3D" parent="."]
transform = Transform3D(1.54555, 0, -1.70331, 0, 2.3, 0, 1.70331, 0, 1.54555, 6.56136, 0, -3.45931)
mesh = ExtResource("5_ipipj")

[node name="CubePrototypeSmall2" type="MeshInstance3D" parent="."]
transform = Transform3D(0.712541, 0, -0.701631, 0, 1, 0, 0.701631, 0, 0.712541, 0.193116, 0.14412355, 6.76326)
mesh = ExtResource("7_f8cpb")

[node name="CubePrototypeSmall3" type="MeshInstance3D" parent="."]
transform = Transform3D(0.712541, 0, -0.701631, 0, 1, 0, 0.701631, 0, 0.712541, 0.193116, 3.8178167, 12.751448)
material_override = SubResource("StandardMaterial3D_uesmb")
mesh = ExtResource("7_f8cpb")

[node name="RigidBody3D2" type="RigidBody3D" parent="."]

[node name="CubePrototypeSmall" type="MeshInstance3D" parent="RigidBody3D2"]
transform = Transform3D(0.949321, 0, 0.314307, -0.169926, 0.841256, 0.513238, -0.264413, -0.540637, 0.798622, -5.197, 6.3825, -12.265)
material_override = SubResource("StandardMaterial3D_aq7w3")
mesh = ExtResource("7_f8cpb")
skeleton = NodePath("../../root/@EditorNode@20441/@Panel@14/@VBoxContainer@15/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@26/DockVSplitCenter/@VSplitContainer@62/@VBoxContainer@63/@EditorMainScreen@103/MainScreen/@CanvasItemEditor@10870/@VSplitContainer@10515/@HSplitContainer@10517/@HSplitContainer@10519/@Control@10520/@SubViewportContainer@10521/@SubViewport@10522/Gym")

[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D2"]
transform = Transform3D(0.949321, 0, 0.314307, -0.169926, 0.841256, 0.513238, -0.264413, -0.540637, 0.798622, -5.197, 6.3825, -12.265)
shape = SubResource("ConvexPolygonShape3D_afokq")

[node name="player_root" parent="." instance=ExtResource("8_mqp7f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.528881, 0, 0)

[node name="VoxelGI" type="VoxelGI" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.0969, 9.95703, 31.1327)
size = Vector3(92.7308, 66.6152, 140.037)
data = ExtResource("9_ipipj")

[node name="BoxC" type="MeshInstance3D" parent="."]
transform = Transform3D(0.7566984, 0, 0.65376407, 0, 1, 0, -0.65376407, 0, 0.7566984, 0.17067528, 0.024999619, -6.5876083)
mesh = ExtResource("10_iyjuv")

[node name="DoorADecorated" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -15.584036, 0.024999619, -19.843891)
mesh = ExtResource("11_gfgny")

[node name="PalletLarge" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.6037169, 0.025000572, -21.528067)
mesh = ExtResource("12_aw2pe")

[node name="PalletLarge2" type="MeshInstance3D" parent="."]
transform = Transform3D(0.99956816, 0, -0.029387116, 0, 1, 0, 0.029387116, 0, 0.99956816, 3.1583347, 0.52046394, -20.519901)
mesh = ExtResource("12_aw2pe")

[node name="PalletLarge3" type="MeshInstance3D" parent="."]
transform = Transform3D(0.99656403, 0, 0.0828256, 0, 1, 0, -0.0828256, 0, 0.99656403, 4.4024363, 0.9654, -22.039927)
mesh = ExtResource("12_aw2pe")

[node name="PalletSmall" type="MeshInstance3D" parent="."]
transform = Transform3D(0.91708094, 0, -0.39870104, 0, 1, 0, 0.39870104, 0, 0.91708094, 8.676193, 0.025000095, -21.06688)
mesh = ExtResource("13_t4e8t")

[node name="PrimitiveSlope" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.317268, 0.024999619, -16.646858)
mesh = ExtResource("14_86fmv")

[node name="PrimitiveStairs" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.237097, 0.024998665, -18.559904)
mesh = ExtResource("15_v6mjl")

[node name="PrimitiveStairsHalf" type="MeshInstance3D" parent="."]
transform = Transform3D(0.8438319, 0, -0.53660756, 0, 1, 0, 0.53660756, 0, 0.8438319, -7.3606834, -3.35709, 12.253401)
mesh = ExtResource("16_kvtwj")

[node name="PrimitiveWall" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.851445, 0.024999619, -21.031487)
mesh = ExtResource("17_26j3w")

[node name="PrimitiveWall2" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.080717, 0.024999619, -17.017313)
mesh = ExtResource("17_26j3w")

[node name="PrimitiveWindow" type="MeshInstance3D" parent="."]
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, -13.528359, 0.024998665, -21.07315)
mesh = ExtResource("18_kjqju")

[node name="TableMediumDecorated" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, -14)
mesh = ExtResource("19_fypju")

[node name="PrimitiveWall3" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -17)
mesh = ExtResource("17_26j3w")

[node name="WallDoorway" type="MeshInstance3D" parent="."]
transform = Transform3D(-0.07428251, 0, -0.99723727, 0, 1, 0, 0.99723727, 0, -0.07428251, -15.431596, 0.024999619, -19.047731)
mesh = ExtResource("20_j11kn")

[node name="PrimitiveFloor" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.287403, 3.0981884, -19.006363)
mesh = ExtResource("21_unwmg")

[node name="PrimitiveFloor2" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -13.469146, 3.0981884, -19.006363)
mesh = ExtResource("21_unwmg")
