[gd_scene load_steps=10 format=3 uid="uid://chem70rrdwjpg"]

[ext_resource type="Script" uid="uid://bnw0h8cuyf3g5" path="res://nodes/robots/robot.gd" id="1_suikl"]
[ext_resource type="Script" uid="uid://dii2n2xcatyuh" path="res://nodes/robots/modules/player_click_module.gd" id="3_tmdoi"]
[ext_resource type="Script" uid="uid://wsrudejqfo5e" path="res://nodes/robots/modules/path_finder_module.gd" id="4_hm8dm"]
[ext_resource type="PackedScene" uid="uid://crtis0eyywl61" path="res://nodes/robots/coding/cpu.tscn" id="5_r4wpy"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hm8dm"]
albedo_color = Color(0, 0.52959, 0.856942, 1)

[sub_resource type="BoxMesh" id="BoxMesh_hm8dm"]
material = SubResource("StandardMaterial3D_hm8dm")
size = Vector3(1, 0.9, 1)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_r4wpy"]
albedo_color = Color(1, 0.447059, 0, 1)

[sub_resource type="PrismMesh" id="PrismMesh_hm8dm"]
material = SubResource("StandardMaterial3D_r4wpy")
size = Vector3(0.4, 0.7, 0.1)

[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_llm6e"]
radius = 0.4
height = 0.8

[node name="Robot" type="CharacterBody3D"]
script = ExtResource("1_suikl")

[node name="CPU" parent="." instance=ExtResource("5_r4wpy")]

[node name="PlayerClickModule" type="Node" parent="CPU"]
script = ExtResource("3_tmdoi")

[node name="PathFinderModule" type="Node" parent="CPU"]
script = ExtResource("4_hm8dm")

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0)
mesh = SubResource("BoxMesh_hm8dm")

[node name="MeshInstance3D2" type="MeshInstance3D" parent="MeshInstance3D"]
transform = Transform3D(1, -1.31134e-07, 4.37114e-08, -4.37114e-08, -4.37114e-08, 1, -1.31134e-07, -1, -4.37114e-08, 0, 0.5, 0)
mesh = SubResource("PrismMesh_hm8dm")

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("CapsuleShape3D_llm6e")

[connection signal="input_event" from="." to="." method="_on_input_event"]
