Now About Social Code
summaryrefslogtreecommitdiff
path: root/prefab/player.tscn
blob: d6c1432445d01542177fe26016b6e7b54c76f0d7 (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
[gd_scene load_steps=6 format=3 uid="uid://dsq68sqy2ldjm"]

[ext_resource type="Script" path="res://scripts/player.gd" id="1_l6xtg"]
[ext_resource type="PackedScene" uid="uid://wmf2eu0uuhrg" path="res://addons/third-person-camera/third_person_camera/ThirdPersonCamera.tscn" id="1_stkca"]

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

[sub_resource type="BoxMesh" id="BoxMesh_wkmld"]
size = Vector3(1, 2, 1)

[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="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("BoxShape3D_ibgtc")

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

[node name="ThirdPersonCamera" parent="." instance=ExtResource("1_stkca")]

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

[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)