diff --git a/keypad_ui.gd b/keypad_ui.gd index 8e4b1ae..8552d51 100644 --- a/keypad_ui.gd +++ b/keypad_ui.gd @@ -26,7 +26,7 @@ func _on_button_pressed(value: String): else: # Zahl hinzufügen (maximal 4 Stellen) - if current_input.length() < 8: + if current_input.length() < 7: current_input += value if current_input.length() < 6: current_input += " " diff --git a/player.tscn b/player.tscn index 114c569..9f00fad 100644 --- a/player.tscn +++ b/player.tscn @@ -22,6 +22,15 @@ strafe = true [node name="FunctionPickup" parent="LeftController" instance=ExtResource("3_1jxqw")] hand_offset_mode = 4 +[node name="FunctionPointer" parent="LeftController" instance=ExtResource("7_dw050")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.02, 0.05, -0.028981276) +y_offset = -0.07 +active_button_action = "primary_click" +show_laser = 0 +show_target = true +target_radius = 0.025 +hand_offset_mode = 4 + [node name="LeftHand" parent="LeftController" instance=ExtResource("2_hqtel")] hand_offset_mode = 4 @@ -43,10 +52,6 @@ camera = NodePath("../../Camera") [node name="Sketchfab_Scene" parent="RightController/Watch" instance=ExtResource("6_1jxqw")] transform = Transform3D(0.00025759128, -0.0019833425, 0, 0.0018915471, 0.00024566916, -0.0006014116, 0.00059640256, 7.745919e-05, 0.001907434, 0, -0.034, 0.108) -[node name="FunctionPointer" parent="RightController" instance=ExtResource("7_dw050")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.02, 0.05, -0.1) -hand_offset_mode = 4 - [node name="PlayerBody" parent="." instance=ExtResource("4_2hs0m")] player_height_rate = 20.0 head_behavior_mode = 2