]> Untitled Git - wolf-seeking-sheep.git/blob - assets/characters/Player.tscn
Squashed commit of the following:
[wolf-seeking-sheep.git] / assets / characters / Player.tscn
1 [gd_scene load_steps=7 format=3 uid="uid://ctyn64mt2gkxy"]
2
3 [ext_resource type="Script" uid="uid://bj0fwxgsmjind" path="res://classes/gameplay/Player.gd" id="1_2ukws"]
4 [ext_resource type="PackedScene" uid="uid://b56yghb2jno58" path="res://assets/phone/phone.tscn" id="2_rmplj"]
5
6 [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_egrvp"]
7
8 [sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_fm71h"]
9 dof_blur_far_enabled = true
10 dof_blur_far_distance = 100.0
11 dof_blur_amount = 0.01
12
13 [sub_resource type="CylinderShape3D" id="CylinderShape3D_k3ttt"]
14 radius = 1.33
15
16 [sub_resource type="CapsuleMesh" id="CapsuleMesh_v37ys"]
17 radius = 0.32
18
19 [node name="Player" type="CharacterBody3D" groups=["Player"]]
20 script = ExtResource("1_2ukws")
21
22 [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
23 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
24 shape = SubResource("CapsuleShape3D_egrvp")
25
26 [node name="Camera3D" type="Camera3D" parent="."]
27 unique_name_in_owner = true
28 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.503, 0)
29 cull_mask = 31
30 attributes = SubResource("CameraAttributesPractical_fm71h")
31
32 [node name="TalkingArea" type="Area3D" parent="Camera3D"]
33 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.50328, -0.500345)
34
35 [node name="CollisionShape3D" type="CollisionShape3D" parent="Camera3D/TalkingArea"]
36 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -1.92691)
37 shape = SubResource("CylinderShape3D_k3ttt")
38
39 [node name="Phone" parent="Camera3D" instance=ExtResource("2_rmplj")]
40 unique_name_in_owner = true
41 transform = Transform3D(0.57848, -0.069925, 0.0925849, 0.0578608, 0.581952, 0.0780006, -0.100566, -0.0673979, 0.577446, -0.308159, -0.144811, -0.632834)
42 visible = false
43
44 [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
45 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
46 mesh = SubResource("CapsuleMesh_v37ys")
47
48 [connection signal="body_entered" from="Camera3D/TalkingArea" to="." method="_on_talking_area_body_entered"]
49 [connection signal="body_exited" from="Camera3D/TalkingArea" to="." method="_on_talking_area_body_exited"]