Files
tekton/scenes/static_tekton.tscn
2026-06-18 14:04:06 +08:00

63 lines
2.4 KiB
Plaintext

[gd_scene format=3 uid="uid://d4mjd3tkf21xe"]
[ext_resource type="Script" uid="uid://dyovwailce5tf" path="res://scripts/tekton.gd" id="1_tekton"]
[ext_resource type="Script" uid="uid://c67yq846u8y68" path="res://scripts/tekton_controller.gd" id="2_controller"]
[ext_resource type="PackedScene" uid="uid://df7h7y7y7y7y7" path="res://scenes/static_tekton_mesh.tscn" id="3_d2kpk"]
[ext_resource type="Texture2D" uid="uid://biun2yvglxgij" path="res://assets/graphics/touch_control/grab_tekton.png" id="4_grab_icon"]
[sub_resource type="BoxShape3D" id="BoxShape3D_tekton"]
size = Vector3(0.8, 1, 0.8)
[node name="Tekton" type="Node3D" unique_id=119914767 groups=["Tektons"]]
script = ExtResource("1_tekton")
[node name="TektonController" type="Node" parent="." unique_id=1658331083]
script = ExtResource("2_controller")
[node name="Visuals" type="Node3D" parent="." unique_id=1698719440]
[node name="tekton" parent="Visuals" unique_id=2052742928 instance=ExtResource("3_d2kpk")]
transform = Transform3D(-0.2, 0, -1.7484556e-08, 0, 0.2, 0, 1.7484556e-08, 0, -0.2, 0, 0, 0)
[node name="HitArea" type="Area3D" parent="." unique_id=2139590311]
collision_layer = 4
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="HitArea" unique_id=818146069]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
shape = SubResource("BoxShape3D_tekton")
[node name="InteractionPrompt" type="Node3D" parent="." unique_id=855764577]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.4, 0)
[node name="PromptIcon" type="Sprite3D" parent="InteractionPrompt" unique_id=11135903]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.3731489, 0)
pixel_size = 0.002
billboard = 1
no_depth_test = true
render_priority = 1
texture = ExtResource("4_grab_icon")
[node name="KeyLabel" type="Label3D" parent="InteractionPrompt" unique_id=1816493043]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.30466843, 0)
pixel_size = 0.01
billboard = 1
no_depth_test = true
render_priority = 2
outline_render_priority = 1
modulate = Color(0.1, 1, 0.2, 1)
text = "[ G ]"
font_size = 48
outline_size = 18
[node name="ActionLabel" type="Label3D" parent="InteractionPrompt" unique_id=848495007]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.79176676, 0)
pixel_size = 0.01
billboard = 1
no_depth_test = true
render_priority = 2
outline_render_priority = 1
text = "LIFT TEKTON"
font_size = 38
outline_size = 10