[gd_scene load_steps=9 format=3 uid="uid://3b5ij42n5jko"] [ext_resource type="Script" path="res://main.gd" id="1_1ywfr"] [ext_resource type="Script" path="res://camera.gd" id="1_32slg"] [ext_resource type="Shader" path="res://assets/floor.gdshader" id="2_snf6g"] [ext_resource type="Script" path="res://follower.gd" id="3_4rocj"] [sub_resource type="SphereMesh" id="SphereMesh_w43c3"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_j7rh5"] albedo_color = Color(0.992157, 0.415686, 1, 1) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_txxch"] albedo_color = Color(0.407843, 0.721569, 0.980392, 1) [sub_resource type="ShaderMaterial" id="ShaderMaterial_2gtpr"] render_priority = 0 shader = ExtResource("2_snf6g") shader_parameter/albedo = Color(0.721569, 0.615686, 0.917647, 1) shader_parameter/detail_texture_size = Vector2(256, 256) shader_parameter/specular = null shader_parameter/metallic = 0.0 shader_parameter/roughness = 0.5 shader_parameter/point_size = null [node name="Main" type="Node3D"] script = ExtResource("1_1ywfr") [node name="Help" type="HBoxContainer" parent="."] anchors_preset = 10 anchor_right = 1.0 offset_bottom = 156.0 grow_horizontal = 2 pivot_offset = Vector2(1.89, 0.201) [node name="Label" type="Label" parent="Help"] layout_mode = 2 text = "1 - Increment f 2 - Decrement f 3 - Increment z 4 - Decrement z 5 - Increment r 6 - Decrement z" [node name="FLabel" type="Label" parent="Help"] layout_mode = 2 [node name="ZLabel" type="Label" parent="Help"] layout_mode = 2 [node name="RLabel" type="Label" parent="Help"] layout_mode = 2 [node name="Camera" type="Camera3D" parent="."] transform = Transform3D(1, 0, 0, 0, 0.807671, 0.589633, 0, -0.589633, 0.807671, 0, 22, 24) projection = 1 size = 7.0 script = ExtResource("1_32slg") target_path = NodePath("../Target") [node name="Target" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.5, 0) mesh = SubResource("SphereMesh_w43c3") surface_material_override/0 = SubResource("StandardMaterial3D_j7rh5") [node name="Follower" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.5, 0) mesh = SubResource("SphereMesh_w43c3") surface_material_override/0 = SubResource("StandardMaterial3D_txxch") script = ExtResource("3_4rocj") f = 2.0 r = -2.0 target_path = NodePath("../Target") f_label_path = NodePath("../Help/FLabel") z_label_path = NodePath("../Help/ZLabel") r_label_path = NodePath("../Help/RLabel") [node name="Map" type="CSGCombiner3D" parent="."] transform = Transform3D(0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 0, 0, 0) use_collision = true [node name="Floor" type="CSGBox3D" parent="Map"] size = Vector3(30, 0.01, 30) material = SubResource("ShaderMaterial_2gtpr") [node name="Sun" type="DirectionalLight3D" parent="Map"] transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 3.72719, 11.0332, 9.55047) shadow_enabled = true