-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSampleScene.tscn
86 lines (67 loc) · 2.49 KB
/
SampleScene.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[gd_scene load_steps=10 format=2]
[ext_resource path="res://CameraMove.cs" type="Script" id=1]
[ext_resource path="res://Player.cs" type="Script" id=2]
[sub_resource type="PlaneMesh" id=1]
[sub_resource type="SpatialMaterial" id=8]
[sub_resource type="ProceduralSky" id=9]
[sub_resource type="Environment" id=5]
background_mode = 2
background_sky = SubResource( 9 )
background_color = Color( 0.117647, 0.117647, 0.117647, 1 )
ambient_light_energy = 0.9
fog_enabled = true
fog_color = Color( 0.501961, 0.6, 0.701961, 0.215686 )
adjustment_brightness = 2.07
adjustment_contrast = 1.36
[sub_resource type="CubeMesh" id=12]
[sub_resource type="SpatialMaterial" id=13]
albedo_color = Color( 0, 1, 0.133333, 1 )
[sub_resource type="CapsuleShape" id=11]
radius = 0.1
height = 0.1
[node name="SampleScene" type="Spatial"]
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( -0.0580127, 0.82476, -0.5625, -0.25, 0.533494, 0.808013, 0.966506, 0.1875, 0.17524, 0, 1, 0 )
layers = 0
light_color = Color( 0.960784, 0.745098, 0.666667, 1 )
shadow_enabled = true
shadow_color = Color( 0.803922, 0.392157, 1, 1 )
shadow_contact = 1.0
[node name="Plane" type="MeshInstance" parent="."]
transform = Transform( 7.07107, 0, 7.07107, 0, 10, 0, -7.07107, 0, 7.07107, 0, 0, 0 )
mesh = SubResource( 1 )
material/0 = SubResource( 8 )
[node name="TrackingCamera" type="Position3D" parent="."]
[node name="Camera" type="Camera" parent="TrackingCamera"]
transform = Transform( 1, 0, 0, 0, 0.866025, 0.5, 0, -0.5, 0.866025, 0, 40, 69.225 )
keep_aspect = 0
environment = SubResource( 5 )
projection = 1
size = 12.0
script = ExtResource( 1 )
[node name="Player" type="KinematicBody" parent="."]
script = ExtResource( 2 )
[node name="Pivot" type="Spatial" parent="Player"]
[node name="MeshInstance" type="MeshInstance" parent="Player/Pivot"]
transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0.1, 0 )
mesh = SubResource( 12 )
material/0 = SubResource( 13 )
[node name="CollisionShape" type="CollisionShape" parent="Player"]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.1, 0 )
shape = SubResource( 11 )
[node name="Debug" type="TextureRect" parent="."]
margin_right = 40.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Debug"]
margin_right = 107.0
margin_bottom = 14.0
size_flags_horizontal = 4
custom_colors/font_color = Color( 0.27451, 0.27451, 0.27451, 1 )
align = 3
valign = 3
__meta__ = {
"_edit_use_anchors_": false
}