124 lines
6.1 KiB
Plaintext
124 lines
6.1 KiB
Plaintext
[gd_scene load_steps=14 format=3 uid="uid://dim2geqhn6d35"]
|
|
|
|
[ext_resource type="Script" uid="uid://dhls6unflalvd" path="res://Scripts/cart.gd" id="1_esjgi"]
|
|
[ext_resource type="ArrayMesh" uid="uid://p3d7iitismhf" path="res://Blends/Cart/cart-bottom.obj" id="1_ux2tx"]
|
|
[ext_resource type="ArrayMesh" uid="uid://docto7iocves6" path="res://Blends/Cart/wheels.obj" id="2_2wj72"]
|
|
[ext_resource type="ArrayMesh" uid="uid://cayqoyyq7nbij" path="res://Blends/Cart/cart-top.obj" id="3_2wj72"]
|
|
[ext_resource type="Script" uid="uid://bcmd74mxocn7e" path="res://Scripts/building_area.gd" id="5_eosii"]
|
|
[ext_resource type="Shader" uid="uid://bfv6ckihralab" path="res://Shaders/build_transparent.gdshader" id="6_ru0md"]
|
|
|
|
[sub_resource type="NavigationMesh" id="NavigationMesh_ru0md"]
|
|
vertices = PackedVector3Array(-8.52442, 1.10583, -1.86593, -8.52442, 1.10583, -0.615934, -3.27442, 1.10583, -0.615934, -3.27442, 1.10583, -1.86593, -2.27442, 0.105834, 0.884066, -9.27442, 0.105834, 0.884066, -9.27442, 0.105834, 3.13407, 11.4756, 0.105834, 3.13407, 11.4756, 0.105834, -1.86593, -1.77442, 0.105834, -1.86593, -1.77442, 0.105834, 0.384066)
|
|
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(5, 4, 6), PackedInt32Array(6, 4, 7), PackedInt32Array(10, 9, 8), PackedInt32Array(10, 8, 4), PackedInt32Array(4, 8, 7)]
|
|
agent_radius = 0.7
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_u7bw1"]
|
|
size = Vector3(22.1814, 0.0957031, 5.72699)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ru0md"]
|
|
size = Vector3(6.47229, 1.38536, 2.33685)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_esjgi"]
|
|
size = Vector3(22.2341, 4.23804, 0.494629)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_eosii"]
|
|
size = Vector3(5.40002, 3.46348, 2.28394)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_eosii"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_u7bw1"]
|
|
render_priority = 0
|
|
shader = ExtResource("6_ru0md")
|
|
shader_parameter/color = Vector3(0, 0, 0)
|
|
|
|
[node name="Cart" type="Node3D" node_paths=PackedStringArray("cartTop")]
|
|
script = ExtResource("1_esjgi")
|
|
cartTop = NodePath("Cart-top")
|
|
|
|
[node name="Cart-bottom" type="MeshInstance3D" parent="."]
|
|
mesh = ExtResource("1_ux2tx")
|
|
|
|
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Cart-bottom"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.138559, 0)
|
|
navigation_mesh = SubResource("NavigationMesh_ru0md")
|
|
|
|
[node name="ground" type="StaticBody3D" parent="Cart-bottom/NavigationRegion3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1.12006, 0.135911, -0.0747662, -0.0448687)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cart-bottom/NavigationRegion3D/ground"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.930367, -0.452148, 0.568024)
|
|
shape = SubResource("BoxShape3D_u7bw1")
|
|
|
|
[node name="NavigationObstacle3D" type="NavigationObstacle3D" parent="Cart-bottom/NavigationRegion3D"]
|
|
height = 0.1
|
|
affect_navigation_mesh = true
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="Cart-bottom/NavigationRegion3D/NavigationObstacle3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.50052, -0.0203562, -20.5103)
|
|
collision_layer = 4
|
|
collision_mask = 4
|
|
input_ray_pickable = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cart-bottom/NavigationRegion3D/NavigationObstacle3D/StaticBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.352722, 0.0688691, -0.102142)
|
|
shape = SubResource("BoxShape3D_ru0md")
|
|
|
|
[node name="Wheels2" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 3.49691e-07, 0, -3.49691e-07, 1, 0, 0, 0, 1, -6.05656, -1.694, -2.014)
|
|
mesh = ExtResource("2_2wj72")
|
|
skeleton = NodePath("../Wheels")
|
|
|
|
[node name="Wheels3" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 5.24537e-07, 0, -5.24537e-07, 1, 0, 0, 0, 1, 9.27867, -1.6046, -2.03998)
|
|
mesh = ExtResource("2_2wj72")
|
|
skeleton = NodePath(".")
|
|
|
|
[node name="Wheels4" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 3.49691e-07, 0, -3.49691e-07, 1, 0, 0, 0, 1, 7.44502, -1.60475, -2.03976)
|
|
mesh = ExtResource("2_2wj72")
|
|
skeleton = NodePath("../Wheels")
|
|
|
|
[node name="Wheels" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 1.74846e-07, 0, -1.74846e-07, 1, 0, 0, 0, 1, -7.8902, -1.69414, -2.01378)
|
|
mesh = ExtResource("2_2wj72")
|
|
|
|
[node name="Cart-top" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0203524, 4.13717, 13.0563)
|
|
visible = false
|
|
mesh = ExtResource("3_2wj72")
|
|
|
|
[node name="BlockBuildingArea" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.137932, 0)
|
|
|
|
[node name="CollisionShape3D4" type="CollisionShape3D" parent="BlockBuildingArea"]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 11.1878, 1.59147, -0.622702)
|
|
shape = SubResource("BoxShape3D_esjgi")
|
|
|
|
[node name="CollisionShape3D3" type="CollisionShape3D" parent="BlockBuildingArea"]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -10.6143, 1.63224, 0.537586)
|
|
shape = SubResource("BoxShape3D_esjgi")
|
|
|
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="BlockBuildingArea"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.619003, 1.50816, 3.83996)
|
|
shape = SubResource("BoxShape3D_esjgi")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="BlockBuildingArea"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.282789, 1.61902, -2.6054)
|
|
shape = SubResource("BoxShape3D_esjgi")
|
|
|
|
[node name="BuildingArea" type="StaticBody3D" parent="." node_paths=PackedStringArray("buildTransparentPreivew")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.3174, 1.96498, -1.34338)
|
|
script = ExtResource("5_eosii")
|
|
buildTransparentPreivew = NodePath("BuildAreaModeView")
|
|
metadata/is_building_area = true
|
|
|
|
[node name="smallBuildingArea2" type="CollisionShape3D" parent="BuildingArea"]
|
|
shape = SubResource("BoxShape3D_eosii")
|
|
debug_color = Color(0.981345, 0, 0.371873, 0.42)
|
|
metadata/is_building_area = true
|
|
|
|
[node name="BuildAreaModeView" type="MeshInstance3D" parent="BuildingArea"]
|
|
transform = Transform3D(5.40002, 0, 0, 0, 4.29805, 0, 0, 0, 2.28394, 0, 0, 0)
|
|
mesh = SubResource("BoxMesh_eosii")
|
|
surface_material_override/0 = SubResource("ShaderMaterial_u7bw1")
|