TinyAdventure/assets/scene_props/wall_segment.tscn

44 lines
2.2 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://bbtp6w3ubgt0k"]
[sub_resource type="BoxShape3D" id="BoxShape3D_0hyct"]
size = Vector3(0.25, 1, 1)
[sub_resource type="FastNoiseLite" id="FastNoiseLite_ehwcd"]
frequency = 0.1797
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_mrcv7"]
width = 32
height = 32
seamless = true
noise = SubResource("FastNoiseLite_ehwcd")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rvqit"]
albedo_color = Color(0.900017, 0.599212, 0.397565, 1)
albedo_texture = SubResource("NoiseTexture2D_mrcv7")
texture_filter = 0
[sub_resource type="BoxMesh" id="BoxMesh_0lmcs"]
material = SubResource("StandardMaterial3D_rvqit")
size = Vector3(0.25, 1, 1)
[sub_resource type="NavigationMesh" id="NavigationMesh_u1aw7"]
vertices = PackedVector3Array(-0.125, 0.5, 0.5, 0.125, 0.5, -0.5, 0.125, 0.5, 0.5, -0.125, 0.5, -0.5, -0.125, -0.5, 0.5, 0.125, -0.5, -0.5, 0.125, -0.5, 0.5, -0.125, -0.5, -0.5, 0.125, 0.5, 0.5, -0.125, 0.5, -0.5, 0.125, 0.5, -0.5, -0.125, 0.5, 0.5, 0.125, -0.5, 0.5, -0.125, -0.5, -0.5, 0.125, -0.5, -0.5, -0.125, -0.5, 0.5, 0.125, 0.5, 0.5, -0.125, -0.5, 0.5, -0.125, 0.5, 0.5, 0.125, -0.5, 0.5, 0.125, 0.5, -0.5, -0.125, -0.5, -0.5, -0.125, 0.5, -0.5, 0.125, -0.5, -0.5)
polygons = [PackedInt32Array(0, 2, 4), PackedInt32Array(2, 6, 4), PackedInt32Array(1, 3, 5), PackedInt32Array(3, 7, 5), PackedInt32Array(8, 10, 12), PackedInt32Array(10, 14, 12), PackedInt32Array(9, 11, 13), PackedInt32Array(11, 15, 13), PackedInt32Array(16, 18, 20), PackedInt32Array(18, 22, 20), PackedInt32Array(17, 19, 21), PackedInt32Array(19, 23, 21)]
[node name="WallSegment6" type="StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0)
collision_layer = 32
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
shape = SubResource("BoxShape3D_0hyct")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
mesh = SubResource("BoxMesh_0lmcs")
skeleton = NodePath("../..")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="MeshInstance3D"]
navigation_mesh = SubResource("NavigationMesh_u1aw7")