Revert accidental change to tiles.
This commit is contained in:
parent
cf0be406ee
commit
b2b2ec939d
93
node_3d.tscn
93
node_3d.tscn
File diff suppressed because one or more lines are too long
57
tiles.tscn
57
tiles.tscn
|
@ -1,4 +1,9 @@
|
||||||
[gd_scene load_steps=9 format=3 uid="uid://bexxobgiojrfa"]
|
[gd_scene load_steps=17 format=3 uid="uid://bexxobgiojrfa"]
|
||||||
|
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://bs13eo8off8ee" path="res://assets/models/Ramp Corner Inner.obj" id="1_k6t24"]
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://ca1wobe3qgakn" path="res://assets/models/Ramp Corner Inner Nav.obj" id="2_d6bvg"]
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://1ud15exgl668" path="res://assets/models/Ramp Corner Outer.obj" id="3_7ivye"]
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://bai5bvubpu4ec" path="res://assets/models/Ramp Corner Outer Nav.obj" id="4_vra4g"]
|
||||||
|
|
||||||
[sub_resource type="BoxMesh" id="BoxMesh_qra7f"]
|
[sub_resource type="BoxMesh" id="BoxMesh_qra7f"]
|
||||||
size = Vector3(2, 1, 2)
|
size = Vector3(2, 1, 2)
|
||||||
|
@ -27,7 +32,7 @@ size = Vector3(2, 1, 2)
|
||||||
points = PackedVector3Array(-1, -0.5, -1, -1, 0.5, -1, 1, -0.5, -1, -1, -0.5, 1, -1, 0.5, 1, 1, -0.5, 1)
|
points = PackedVector3Array(-1, -0.5, -1, -1, 0.5, -1, 1, -0.5, -1, -1, -0.5, 1, -1, 0.5, 1, 1, -0.5, 1)
|
||||||
|
|
||||||
[sub_resource type="NavigationMesh" id="NavigationMesh_7h0kd"]
|
[sub_resource type="NavigationMesh" id="NavigationMesh_7h0kd"]
|
||||||
vertices = PackedVector3Array(-0.735052, 0.760437, -0.75, -0.735052, 0.760437, 0.75, 0.764948, 0.0104373, 0.75, 0.764948, 0.0104373, -0.75)
|
vertices = PackedVector3Array(-0.735052, 0.760437, -0.75, -0.735052, 0.760437, 0.75, 0.764948, 0.010437, 0.75, 0.764948, 0.010437, -0.75)
|
||||||
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
|
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
|
||||||
agent_radius = 0.2
|
agent_radius = 0.2
|
||||||
|
|
||||||
|
@ -35,6 +40,22 @@ agent_radius = 0.2
|
||||||
size = Vector2(2.2, 2)
|
size = Vector2(2.2, 2)
|
||||||
orientation = 1
|
orientation = 1
|
||||||
|
|
||||||
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_7ivye"]
|
||||||
|
data = PackedVector3Array(-1, 0.5, -1, -1, -0.5, 1, -1, -0.5, -1, 1, 0.5, -1, 1, -0.5, -1, 1, 0.5, 1, 1, 0.5, 1, 1, -0.5, -1, 1, -0.5, 1, 1, 0.5, 1, 1, -0.5, 1, -1, -0.5, 1, 1, -0.5, -1, -1, -0.5, -1, 1, -0.5, 1, 1, -0.5, 1, -1, -0.5, -1, -1, -0.5, 1, -1, 0.5, -1, -1, -0.5, -1, 1, 0.5, -1, 1, 0.5, -1, -1, -0.5, -1, 1, -0.5, -1, -1, 0.5, -1, 1, 0.5, -1, -1, -0.5, 1, 1, 0.5, -1, 1, 0.5, 1, -1, -0.5, 1)
|
||||||
|
|
||||||
|
[sub_resource type="NavigationMesh" id="NavigationMesh_vra4g"]
|
||||||
|
vertices = PackedVector3Array(-0.75, 0.75, -0.75, -0.75, 0, 0.75, 0.75, 0.75, 0.75, 0.75, 0.75, -0.75)
|
||||||
|
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
|
||||||
|
agent_radius = 0.2
|
||||||
|
|
||||||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_xlp04"]
|
||||||
|
points = PackedVector3Array(1, -0.5, -1, -1, -0.5, 1, 1, 0.5, 1, 1, -0.5, 1)
|
||||||
|
|
||||||
|
[sub_resource type="NavigationMesh" id="NavigationMesh_341ea"]
|
||||||
|
vertices = PackedVector3Array(-1, 0, -1, -1, 0, 1, 1, 0.75, 1, 1, 0, -1)
|
||||||
|
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
|
||||||
|
agent_radius = 0.0
|
||||||
|
|
||||||
[node name="Tiles" type="Node3D"]
|
[node name="Tiles" type="Node3D"]
|
||||||
|
|
||||||
[node name="Cube" type="MeshInstance3D" parent="."]
|
[node name="Cube" type="MeshInstance3D" parent="."]
|
||||||
|
@ -52,7 +73,7 @@ navigation_mesh = SubResource("NavigationMesh_qra7f")
|
||||||
mesh = SubResource("QuadMesh_7h0kd")
|
mesh = SubResource("QuadMesh_7h0kd")
|
||||||
|
|
||||||
[node name="Ramp" type="MeshInstance3D" parent="."]
|
[node name="Ramp" type="MeshInstance3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.40447, -0.00256312, 0.000191689)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.99928, -0.00256312, 0.000191689)
|
||||||
mesh = SubResource("PrismMesh_qra7f")
|
mesh = SubResource("PrismMesh_qra7f")
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="Ramp"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="Ramp"]
|
||||||
|
@ -66,3 +87,33 @@ navigation_mesh = SubResource("NavigationMesh_7h0kd")
|
||||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ramp/NavigationRegion3D"]
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ramp/NavigationRegion3D"]
|
||||||
transform = Transform3D(0.895502, 0.445057, 0, -0.445057, 0.895502, 0, 0, 0, 1, 0, 0, 0)
|
transform = Transform3D(0.895502, 0.445057, 0, -0.445057, 0.895502, 0, 0, 0, 1, 0, 0, 0)
|
||||||
mesh = SubResource("QuadMesh_k6t24")
|
mesh = SubResource("QuadMesh_k6t24")
|
||||||
|
|
||||||
|
[node name="Ramp Inner Corner" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 0)
|
||||||
|
mesh = ExtResource("1_k6t24")
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="Ramp Inner Corner"]
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ramp Inner Corner/StaticBody3D"]
|
||||||
|
shape = SubResource("ConcavePolygonShape3D_7ivye")
|
||||||
|
|
||||||
|
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Ramp Inner Corner"]
|
||||||
|
navigation_mesh = SubResource("NavigationMesh_vra4g")
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ramp Inner Corner/NavigationRegion3D"]
|
||||||
|
mesh = ExtResource("2_d6bvg")
|
||||||
|
|
||||||
|
[node name="Ramp Outer Corner" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 2, 0, 2)
|
||||||
|
mesh = ExtResource("3_7ivye")
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="Ramp Outer Corner"]
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ramp Outer Corner/StaticBody3D"]
|
||||||
|
shape = SubResource("ConvexPolygonShape3D_xlp04")
|
||||||
|
|
||||||
|
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Ramp Outer Corner"]
|
||||||
|
navigation_mesh = SubResource("NavigationMesh_341ea")
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ramp Outer Corner/NavigationRegion3D"]
|
||||||
|
mesh = ExtResource("4_vra4g")
|
||||||
|
|
Loading…
Reference in New Issue