2025-03-13 10:29:25 -06:00
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://bwe2jdmvinhqd"]
|
2025-02-28 15:20:52 -07:00
|
|
|
|
2025-03-06 16:06:17 -07:00
|
|
|
[ext_resource type="Script" uid="uid://buwh0g1ga2aka" path="res://src/player/player.gd" id="1_npueo"]
|
|
|
|
[ext_resource type="Script" uid="uid://cx1yt0drthpw3" path="res://src/player/camera_controller.gd" id="2_veeqv"]
|
2025-03-12 12:19:09 -06:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cc102xko0u6yj" path="res://src/equipment/point_spray/point_spray.tscn" id="3_6wgkm"]
|
2025-03-12 11:23:21 -06:00
|
|
|
[ext_resource type="PackedScene" uid="uid://d2hnxr5l6w2x4" path="res://src/equipment/wide_spray/wide_spray.tscn" id="3_ibq07"]
|
2025-03-12 12:19:09 -06:00
|
|
|
[ext_resource type="Script" uid="uid://cwy3akimaeib" path="res://src/player/tool_mount.gd" id="3_jiejy"]
|
2025-03-05 14:46:13 -07:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dq1x21tq06dud" path="res://src/ui/hud/player_hud.tscn" id="5_jvafu"]
|
2025-03-13 10:29:25 -06:00
|
|
|
[ext_resource type="PackedScene" uid="uid://qknkdy6aics1" path="res://src/equipment/toothbrush/toothbrush.tscn" id="6_o822w"]
|
2025-02-28 15:20:52 -07:00
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_s7f0r"]
|
2025-03-10 18:43:27 -06:00
|
|
|
height = 1.9
|
2025-02-28 15:20:52 -07:00
|
|
|
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
|
|
script = ExtResource("1_npueo")
|
|
|
|
|
|
|
|
[node name="CameraPivot" type="Node3D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
|
|
|
script = ExtResource("2_veeqv")
|
|
|
|
|
2025-03-12 12:19:09 -06:00
|
|
|
[node name="ToolMount" type="Node3D" parent="CameraPivot" node_paths=PackedStringArray("initial_tool")]
|
|
|
|
unique_name_in_owner = true
|
2025-03-01 14:40:02 -07:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.15, -0.1, -0.1)
|
2025-03-12 12:19:09 -06:00
|
|
|
script = ExtResource("3_jiejy")
|
|
|
|
initial_tool = NodePath("PointSpray")
|
2025-03-01 14:40:02 -07:00
|
|
|
|
2025-03-12 12:19:09 -06:00
|
|
|
[node name="PointSpray" parent="CameraPivot/ToolMount" instance=ExtResource("3_6wgkm")]
|
2025-03-01 16:59:39 -07:00
|
|
|
unique_name_in_owner = true
|
2025-03-01 14:40:02 -07:00
|
|
|
|
2025-03-12 12:19:09 -06:00
|
|
|
[node name="WideSpray" parent="CameraPivot/ToolMount" instance=ExtResource("3_ibq07")]
|
2025-03-05 17:57:55 -07:00
|
|
|
unique_name_in_owner = true
|
2025-03-12 12:19:09 -06:00
|
|
|
visible = false
|
2025-03-05 17:57:55 -07:00
|
|
|
|
2025-03-13 10:29:25 -06:00
|
|
|
[node name="Toothbrush" parent="CameraPivot/ToolMount" instance=ExtResource("6_o822w")]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
visible = false
|
|
|
|
|
2025-02-28 15:20:52 -07:00
|
|
|
[node name="Camera3D" type="Camera3D" parent="CameraPivot"]
|
|
|
|
current = true
|
|
|
|
|
2025-03-05 14:46:13 -07:00
|
|
|
[node name="InteractRay" type="RayCast3D" parent="CameraPivot/Camera3D"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
target_position = Vector3(0, 0, -1.5)
|
|
|
|
collision_mask = 2
|
|
|
|
|
2025-02-28 15:20:52 -07:00
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
2025-03-10 18:43:27 -06:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0)
|
2025-02-28 15:20:52 -07:00
|
|
|
shape = SubResource("CapsuleShape3D_s7f0r")
|
2025-03-05 14:46:13 -07:00
|
|
|
|
|
|
|
[node name="PlayerHUD" parent="." instance=ExtResource("5_jvafu")]
|
|
|
|
unique_name_in_owner = true
|