HeliosApp/dock.tscn

45 lines
2.0 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://n1o3m7g342dk"]
[ext_resource type="Script" path="res://dock_link.gd" id="1_a7ngo"]
[sub_resource type="CylinderMesh" id="CylinderMesh_oms63"]
[sub_resource type="NavigationMesh" id="NavigationMesh_uiteq"]
vertices = PackedVector3Array(-1.22348, 0.620972, -8.72268, -1.22348, -0.379028, 2.87732, 1.17652, -0.379028, 2.87732, 1.17652, 0.620972, -8.72268, -1.22348, 0.620972, 0.557321, 1.17652, 0.620972, 0.557321)
polygons = [PackedInt32Array(1, 4, 2), PackedInt32Array(2, 4, 5), PackedInt32Array(5, 4, 0), PackedInt32Array(5, 0, 3)]
cell_size = 0.1
cell_height = 0.1
agent_radius = 1.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jdlc2"]
albedo_color = Color(0.27, 0.17235, 0.1026, 1)
[node name="Dock" type="Node3D"]
[node name="FishingSpot" type="Node3D" parent="." groups=["FishingSpot"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00458121, 0.773074, -6.92475)
[node name="MeshInstance3D" type="MeshInstance3D" parent="FishingSpot"]
transform = Transform3D(0.207282, 0, 0, 0, 1, 0, 0, 0, 0.207282, 0, 0, 0)
mesh = SubResource("CylinderMesh_oms63")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
navigation_mesh = SubResource("NavigationMesh_uiteq")
[node name="Dock" type="CSGCombiner3D" parent="NavigationRegion3D"]
[node name="CSGBox3D" type="CSGBox3D" parent="NavigationRegion3D/Dock"]
transform = Transform3D(4.44697, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4.61133)
size = Vector3(1, 1, 10.2227)
material = SubResource("StandardMaterial3D_jdlc2")
[node name="CSGBox3D2" type="CSGBox3D" parent="NavigationRegion3D/Dock"]
transform = Transform3D(4.44697, 0, 0, 0, 0.906919, -0.421305, 0, 0.421305, 0.906919, 0, -0.737325, 1.98096)
size = Vector3(1, 1, 3.74191)
material = SubResource("StandardMaterial3D_jdlc2")
[node name="DockLink" type="NavigationLink3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.37046)
end_position = Vector3(0, 0, 2)
script = ExtResource("1_a7ngo")