27 lines
2.7 KiB
Text
27 lines
2.7 KiB
Text
[gd_scene load_steps=7 format=3 uid="uid://c806afvtbie0n"]
|
|
|
|
[ext_resource type="Script" path="res://Tile/Tile.gd" id="1_b68ym"]
|
|
[ext_resource type="ArrayMesh" uid="uid://dsbshu53k588h" path="res://hexagon_small.res" id="2_vm00h"]
|
|
[ext_resource type="Texture2D" uid="uid://bp5lbofkicsqq" path="res://InsectTiles/Assets/Textures/ant_black.png" id="3_r51ol"]
|
|
[ext_resource type="Texture2D" uid="uid://dr36631neiknu" path="res://InsectTiles/Assets/Textures/ant_white.png" id="4_f75dl"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_80f17"]
|
|
albedo_texture = ExtResource("3_r51ol")
|
|
roughness_texture = ExtResource("4_f75dl")
|
|
|
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_oy7nn"]
|
|
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="InsectTile" type="Area3D"]
|
|
monitoring = false
|
|
script = ExtResource("1_b68ym")
|
|
|
|
[node name="HexagonSmall" type="MeshInstance3D" parent="."]
|
|
mesh = ExtResource("2_vm00h")
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_80f17")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("ConcavePolygonShape3D_oy7nn")
|
|
|
|
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
|
|
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
|