~kmdodrill/my-brother-lives-in-a-canyon

ref: 21badfd00b12d6935de414c548b84302d5fc9d9f my-brother-lives-in-a-canyon/src/Player.tscn -rw-r--r-- 1.2 KiB
21badfd0 — Kenneth Dodrill Add rest of fences 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[gd_scene load_steps=5 format=2]

[ext_resource path="res://src/Player.gd" type="Script" id=1]
[ext_resource path="res://src/Objects/Radio.tscn" type="PackedScene" id=2]
[ext_resource path="res://src/Speaker3D.gd" type="Script" id=3]

[sub_resource type="CapsuleShape" id=1]
radius = 0.5

[node name="Player" type="KinematicBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
collision_layer = 2
collision_mask = 3
script = ExtResource( 1 )

[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 )
shape = SubResource( 1 )

[node name="Head" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0 )

[node name="Camera" type="Camera" parent="Head"]
current = true
fov = 90.0
far = 1500.0

[node name="Mouth" type="AudioStreamPlayer3D" parent="Head"]
bus = "voice"
script = ExtResource( 3 )

[node name="Radio" parent="Head" instance=ExtResource( 2 )]
transform = Transform( -0.47777, 0.214499, 0.851896, -0.0644496, 0.958561, -0.277501, -0.876118, -0.187486, -0.444147, 0.102987, -0.0564334, -0.0930653 )

[node name="HeadLamp" type="SpotLight" parent="Head"]
visible = false