feat: added geometry and startet the button

This commit is contained in:
2025-12-22 18:14:44 +01:00
parent 4e6968ddb1
commit ba142a3fac
9 changed files with 211 additions and 1 deletions

View File

@@ -1,3 +1,55 @@
[gd_scene format=3 uid="uid://caj5t8q1fii5m"]
[gd_scene load_steps=5 format=3 uid="uid://caj5t8q1fii5m"]
[ext_resource type="PackedScene" uid="uid://cin3pgpeydkpe" path="res://Assets/PID_Spinning_Target.glb" id="1_0c8sw"]
[ext_resource type="Script" uid="uid://b63aqs33qyp0g" path="res://Levels/pid_test.gd" id="1_sxbsa"]
[ext_resource type="PackedScene" uid="uid://b8yyluxikhlr0" path="res://Assets/PID_Spinning_Stuff.glb" id="2_sxbsa"]
[sub_resource type="Environment" id="Environment_d03hh"]
background_mode = 2
background_color = Color(0.14478481, 0.14478481, 0.14478481, 1)
ambient_light_source = 2
[node name="PidTest" type="Node3D"]
script = ExtResource("1_sxbsa")
[node name="Target" type="Node3D" parent="."]
[node name="PID_Spinning_Target" parent="Target" instance=ExtResource("1_0c8sw")]
[node name="Spinner" type="Node3D" parent="."]
[node name="PID_Spinning_Stuff" parent="Spinner" instance=ExtResource("2_sxbsa")]
[node name="OmniLight3D" type="OmniLight3D" parent="Spinner/PID_Spinning_Stuff"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.40560818, 0.6382216, 0)
light_color = Color(0.99999994, 0.20727095, 0.32746297, 1)
light_energy = 0.2
shadow_enabled = true
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(-4.3597606e-08, -0.072106734, 0.99739695, -3.1518854e-09, 0.99739695, 0.072106734, -1, 0, -4.371139e-08, 4.3431935, 0.43207824, 0)
environment = SubResource("Environment_d03hh")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.25000006, 0.9659258, 0.06698735, -0.2588191, -1.9081726e-08, 0.9659258, 0.93301266, -0.25881913, 0.25000003, 0, 3.3288543, 0)
[node name="PID Menue" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="VBoxContainer" type="VBoxContainer" parent="PID Menue"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="HBoxContainer" type="HBoxContainer" parent="PID Menue/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="PID Menue/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Proportinal Term (P)"
[node name="LineEdit" type="SpinBox" parent="PID Menue/VBoxContainer/HBoxContainer"]
layout_mode = 2