Now About Social Code
summaryrefslogtreecommitdiff
path: root/prefab/player.tscn
blob: 760fb388becb190403ec0013392973024bc78ee2 (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
[gd_scene load_steps=6 format=3 uid="uid://dsq68sqy2ldjm"]

[ext_resource type="Script" path="res://scripts/player.gd" id="1_l6xtg"]

[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ca87k"]

[sub_resource type="CapsuleMesh" id="CapsuleMesh_6hvkb"]

[sub_resource type="PrismMesh" id="PrismMesh_16psy"]

[sub_resource type="BoxShape3D" id="BoxShape3D_eybym"]
size = Vector3(1.28475, 2, 1)

[node name="Player" type="CharacterBody3D"]
collision_layer = 5
script = ExtResource("1_l6xtg")

[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.939693, 0.34202, 0, -0.34202, 0.939693, 0, 2.65407, 4.3752)

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_ca87k")

[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D"]
mesh = SubResource("CapsuleMesh_6hvkb")

[node name="MeshInstance3D2" type="MeshInstance3D" parent="CollisionShape3D"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.730899, -0.46888)
mesh = SubResource("PrismMesh_16psy")

[node name="Picker" type="Area3D" parent="."]
collision_layer = 10
collision_mask = 10

[node name="PickerBox" type="CollisionShape3D" parent="Picker"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -1)
shape = SubResource("BoxShape3D_eybym")

[node name="Holder" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0)

[node name="LowerRay" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
target_position = Vector3(0, 0, 0.6)

[node name="UpperRay" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
target_position = Vector3(0, 0, 0.6)