Swarm/hex_outline.tscn
2025-06-10 01:32:17 +02:00

37 lines
3.1 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://y2t5rrkvs0c0"]
[ext_resource type="Script" uid="uid://rbug8ibnb87v" path="res://HexOutline.gd" id="1_cbscl"]
[ext_resource type="ArrayMesh" uid="uid://cocujjycabbp3" path="res://hex_outline.res" id="2_hwabu"]
[ext_resource type="Script" uid="uid://btn30al6m0cfa" path="res://MeshBreather.gd" id="3_6b28p"]
[ext_resource type="Material" uid="uid://bxwitvdpsoro6" path="res://hex_outline_material.tres" id="3_lvy2v"]
[ext_resource type="ArrayMesh" uid="uid://2hoclmeiswwf" path="res://hex_outline_bottom.res" id="4_lr4wm"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_uta8s"]
data = PackedVector3Array(-0.25, 0.4004, 0.433014, 0.25, 0.000399577, 0.433014, -0.25, 0.000399577, 0.433014, -0.25, 0.4004, 0.433014, 0.25, 0.4004, 0.433014, 0.25, 0.000399577, 0.433014, -0.25, 0.4004, -0.433014, -0.5, 0.000399577, 0, -0.25, 0.000399577, -0.433014, -0.25, 0.4004, -0.433014, -0.5, 0.4004, 0, -0.5, 0.000399577, 0, 0.5, 0.4004, 0, 0.25, 0.000399577, -0.433014, 0.5, 0.000399577, 0, 0.5, 0.4004, 0, 0.25, 0.4004, -0.433014, 0.25, 0.000399577, -0.433014, 0.25, 0.4004, 0.433014, 0.25, 0.4004, -0.433014, 0.5, 0.4004, 0, 0.25, 0.4004, -0.433014, -0.5, 0.4004, 0, -0.25, 0.4004, -0.433014, -0.5, 0.4004, 0, 0.25, 0.4004, 0.433014, -0.25, 0.4004, 0.433014, 0.25, 0.4004, -0.433014, 0.25, 0.4004, 0.433014, -0.5, 0.4004, 0, 0.25, 0.4004, 0.433014, 0.5, 0.000399577, 0, 0.25, 0.000399577, 0.433014, 0.25, 0.4004, 0.433014, 0.5, 0.4004, 0, 0.5, 0.000399577, 0, 0.25, 0.4004, -0.433014, -0.25, 0.000399577, -0.433014, 0.25, 0.000399577, -0.433014, 0.25, 0.4004, -0.433014, -0.25, 0.4004, -0.433014, -0.25, 0.000399577, -0.433014, 0.5, 0.000399577, 0, -0.25, 0.000399577, 0.433014, 0.25, 0.000399577, 0.433014, -0.25, 0.000399577, 0.433014, -0.25, 0.000399577, -0.433014, -0.5, 0.000399577, 0, -0.25, 0.000399577, -0.433014, 0.5, 0.000399577, 0, 0.25, 0.000399577, -0.433014, -0.25, 0.000399577, 0.433014, 0.5, 0.000399577, 0, -0.25, 0.000399577, -0.433014, -0.5, 0.4004, 0, -0.25, 0.000399577, 0.433014, -0.5, 0.000399577, 0, -0.5, 0.4004, 0, -0.25, 0.4004, 0.433014, -0.25, 0.000399577, 0.433014)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tu70t"]
transparency = 1
albedo_color = Color(0.133333, 0.592157, 0, 0.607843)
[node name="HexOutline" type="Area3D"]
collision_mask = 0
monitoring = false
script = ExtResource("1_cbscl")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("ConcavePolygonShape3D_uta8s")
[node name="Mesh" type="MeshInstance3D" parent="."]
mesh = ExtResource("2_hwabu")
skeleton = NodePath("")
surface_material_override/0 = ExtResource("3_lvy2v")
script = ExtResource("3_6b28p")
[node name="HexOutlineBottom" type="MeshInstance3D" parent="Mesh"]
mesh = ExtResource("4_lr4wm")
skeleton = NodePath("")
surface_material_override/0 = SubResource("StandardMaterial3D_tu70t")
[connection signal="input_event" from="." to="." method="_on_input_event"]
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]