Swarm/hex_outline.tscn

30 lines
2.6 KiB
Text
Raw Normal View History

[gd_scene load_steps=6 format=3 uid="uid://y2t5rrkvs0c0"]
2024-03-04 16:04:40 +01:00
[ext_resource type="Script" 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" path="res://MeshBreather.gd" id="3_6b28p"]
[ext_resource type="ArrayMesh" uid="uid://2hoclmeiswwf" path="res://hex_outline_bottom.res" id="4_lr4wm"]
2024-03-04 16:04:40 +01:00
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_uta8s"]
2024-03-04 16:04:40 +01:00
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)
[node name="HexOutline" type="Area3D"]
monitoring = false
script = ExtResource("1_cbscl")
2024-03-04 16:04:40 +01:00
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("ConcavePolygonShape3D_uta8s")
[node name="Mesh" type="MeshInstance3D" parent="."]
mesh = ExtResource("2_hwabu")
skeleton = NodePath("../../..")
script = ExtResource("3_6b28p")
[node name="HexOutlineBottom" type="MeshInstance3D" parent="Mesh"]
mesh = ExtResource("4_lr4wm")
skeleton = NodePath("../../../..")
[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"]