TowerGame/tiles.tscn

69 lines
3.0 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://bexxobgiojrfa"]
[sub_resource type="BoxMesh" id="BoxMesh_qra7f"]
size = Vector3(2, 1, 2)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_7h0kd"]
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, -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_qra7f"]
vertices = PackedVector3Array(-0.75, 1, -0.75, -0.75, 1, 0.75, 0.75, 1, 0.75, 0.75, 1, -0.75)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
sample_partition_type = 2
agent_radius = 0.2
region_min_size = 1.0
filter_walkable_low_height_spans = true
[sub_resource type="QuadMesh" id="QuadMesh_7h0kd"]
size = Vector2(2, 2)
center_offset = Vector3(0, 0.5, 0)
orientation = 1
[sub_resource type="PrismMesh" id="PrismMesh_qra7f"]
left_to_right = 0.0
size = Vector3(2, 1, 2)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_qra7f"]
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"]
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)]
agent_radius = 0.2
[sub_resource type="QuadMesh" id="QuadMesh_k6t24"]
size = Vector2(2.2, 2)
orientation = 1
[node name="Tiles" type="Node3D"]
[node name="Cube" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_qra7f")
[node name="StaticBody3D" type="StaticBody3D" parent="Cube"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cube/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_7h0kd")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Cube"]
navigation_mesh = SubResource("NavigationMesh_qra7f")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Cube/NavigationRegion3D"]
mesh = SubResource("QuadMesh_7h0kd")
[node name="Ramp" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.99928, -0.00256312, 0.000191689)
mesh = SubResource("PrismMesh_qra7f")
[node name="StaticBody3D" type="StaticBody3D" parent="Ramp"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ramp/StaticBody3D"]
shape = SubResource("ConvexPolygonShape3D_qra7f")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Ramp"]
navigation_mesh = SubResource("NavigationMesh_7h0kd")
[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)
mesh = SubResource("QuadMesh_k6t24")