[gd_scene load_steps=11 format=3 uid="uid://cp6xm8gp6csx"] [ext_resource type="Script" uid="uid://bgvsgtc0txgrr" path="res://player/player.gd" id="1_h17j6"] [ext_resource type="PackedScene" uid="uid://2tvylmtejq0u" path="res://william.tscn" id="1_sujn1"] [ext_resource type="Script" uid="uid://bocc5xwqtbkbb" path="res://ux/debug_draw_3d.gd" id="3_4m0p1"] [ext_resource type="Script" uid="uid://dd3sep8kprktl" path="res://ux/debug_overlay.gd" id="3_lokna"] [ext_resource type="Script" uid="uid://mgg7ii0w4vod" path="res://ux/debug_stats.gd" id="5_n0cdm"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2yjd0"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_ntdse"] radius = 4.0 [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_sdmc3"] [sub_resource type="SphereShape3D" id="SphereShape3D_4dtvp"] [sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_frf40"] dof_blur_far_enabled = true dof_blur_far_distance = 20.0 [node name="player" type="CharacterBody3D"] script = ExtResource("1_h17j6") camera_mode = "unlocked" [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) shape = SubResource("CapsuleShape3D_2yjd0") [node name="WilliamSkin" parent="." instance=ExtResource("1_sujn1")] unique_name_in_owner = true transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0) [node name="headTurn" type="Area3D" parent="WilliamSkin"] transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 0, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="WilliamSkin/headTurn"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -3.91559) shape = SubResource("CylinderShape3D_ntdse") [node name="Area3D" type="Area3D" parent="WilliamSkin"] [node name="CollisionShape3D" type="CollisionShape3D" parent="WilliamSkin/Area3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) shape = SubResource("CapsuleShape3D_sdmc3") [node name="npcTrackPoint" type="Node3D" parent="WilliamSkin/Area3D" groups=["npc-headTrack"]] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.73936, 0) [node name="cameraPivot" type="Node3D" parent="."] [node name="SpringArm3D" type="SpringArm3D" parent="cameraPivot"] transform = Transform3D(1, 0, 0, 0, 0.946525, 0.322629, 0, -0.322629, 0.946525, 0, 1.588, 0) shape = SubResource("SphereShape3D_4dtvp") [node name="Camera3D" type="Camera3D" parent="cameraPivot/SpringArm3D"] attributes = SubResource("CameraAttributesPractical_frf40") fov = 80.0 [node name="DebugOverlay" type="CanvasLayer" parent="."] unique_name_in_owner = true visible = false script = ExtResource("3_lokna") [node name="DebugDraw3D" type="Control" parent="DebugOverlay"] layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 script = ExtResource("3_4m0p1") [node name="DebugStats" type="MarginContainer" parent="DebugOverlay"] offset_right = 40.0 offset_bottom = 40.0 script = ExtResource("5_n0cdm") [node name="VBoxContainer" type="VBoxContainer" parent="DebugOverlay/DebugStats"] layout_mode = 2 [connection signal="area_entered" from="WilliamSkin/headTurn" to="." method="_on_head_turn_area_entered"] [connection signal="area_exited" from="WilliamSkin/headTurn" to="." method="_on_head_turn_area_exited"]