-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathPlayer.tscn
59 lines (44 loc) · 1.83 KB
/
Player.tscn
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
50
51
52
53
54
55
56
57
58
59
[gd_scene load_steps=7 format=3 uid="uid://x3l0v6tbskoe"]
[ext_resource type="Script" path="res://Player/Player.gd" id="1"]
[sub_resource type="BoxShape3D" id="6"]
margin = 0.0
size = Vector3(0.6, 1.8, 0.6)
[sub_resource type="CylinderShape3D" id="CylinderShape3D_juxiq"]
height = 1.8
radius = 0.3
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_sl4o1"]
radius = 0.3
height = 1.8
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sxnj7"]
[sub_resource type="BoxMesh" id="BoxMesh_dhg0d"]
material = SubResource("StandardMaterial3D_sxnj7")
size = Vector3(0.1, 0.2, 0.5)
[node name="Player" type="CharacterBody3D"]
wall_min_slide_angle = 0.0872665
floor_snap_length = 0.2
script = ExtResource("1")
[node name="CollisionShape3D1" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("6")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CylinderShape3D_juxiq")
disabled = true
[node name="CollisionShape3D3" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_sl4o1")
disabled = true
[node name="Body" type="Node3D" parent="."]
[node name="Head" type="Node3D" parent="Body"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, 0)
[node name="CameraMarker3D" type="Marker3D" parent="Body/Head"]
[node name="Camera3D" type="Camera3D" parent="Body/Head/CameraMarker3D"]
cull_mask = 1048571
current = true
far = 1000.0
[node name="MeshInstance3D" type="MeshInstance3D" parent="Body/Head/CameraMarker3D/Camera3D"]
transform = Transform3D(0.196004, 0, 0, 0, 0.196004, 0, 0, 0, 0.196004, 0.109533, -0.12318, -0.216098)
visible = false
cast_shadow = 0
gi_mode = 0
mesh = SubResource("BoxMesh_dhg0d")