-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplayer.tscn
More file actions
78 lines (61 loc) · 2.06 KB
/
Copy pathplayer.tscn
File metadata and controls
78 lines (61 loc) · 2.06 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[gd_scene load_steps=6 format=3 uid="uid://bjrvl643qpvsm"]
[ext_resource type="Script" path="res://player.gd" id="1_dho4d"]
[sub_resource type="BoxShape3D" id="BoxShape3D_c8hfp"]
size = Vector3(1, 1.5, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_68hgb"]
size = Vector3(1, 0.175, 1)
[sub_resource type="Gradient" id="Gradient_khs2o"]
colors = PackedColorArray(1, 0, 0, 1, 1, 0, 0, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_vub8u"]
gradient = SubResource("Gradient_khs2o")
width = 1
[node name="player" type="CharacterBody3D"]
collision_layer = 15
floor_constant_speed = true
floor_snap_length = 0.5
platform_on_leave = 2
script = ExtResource("1_dho4d")
[node name="col" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_c8hfp")
[node name="around" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.688, 0)
[node name="head" type="Node3D" parent="around"]
[node name="cam" type="Camera3D" parent="around/head"]
current = true
[node name="RayCast3D" type="RayCast3D" parent="around/head/cam"]
unique_name_in_owner = true
target_position = Vector3(0, 0, -64)
collision_mask = 2
[node name="staircast" type="ShapeCast3D" parent="."]
shape = SubResource("BoxShape3D_68hgb")
target_position = Vector3(0, -0.688, 0)
max_results = 4
[node name="sound" type="AudioStreamPlayer3D" parent="."]
[node name="floorray" type="Marker3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.75, 0)
[node name="c" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="center" type="TextureRect" parent="c"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -4.0
offset_top = -4.0
offset_right = 4.0
offset_bottom = 4.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("GradientTexture1D_vub8u")
[node name="matd" type="Label" parent="."]
unique_name_in_owner = true
offset_right = 40.0
offset_bottom = 23.0