-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMain.tscn
102 lines (78 loc) · 4.5 KB
/
Main.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[gd_scene load_steps=15 format=2]
[ext_resource path="res://Main.gd" type="Script" id=1]
[ext_resource path="res://addons/godot-oculus/scenes/oculus_first_person.tscn" type="PackedScene" id=2]
[ext_resource path="res://world_environment.tres" type="Environment" id=3]
[ext_resource path="res://addons/vr-common/functions/Function_Direct_movement.tscn" type="PackedScene" id=4]
[ext_resource path="res://assets/sketchfab.com/sci-fi-fighter/02___Default.material" type="Material" id=5]
[ext_resource path="res://assets/rooms/Corridor_01.tscn" type="PackedScene" id=6]
[ext_resource path="res://assets/rooms/room_03/Room_03.tscn" type="PackedScene" id=7]
[ext_resource path="res://assets/rooms/room_02/Room_02.tscn" type="PackedScene" id=8]
[ext_resource path="res://assets/rooms/room_01/Room_01.tscn" type="PackedScene" id=9]
[ext_resource path="res://assets/rooms/Sliding_door.tscn" type="PackedScene" id=10]
[ext_resource path="res://addons/vr-common/misc/VR_Common_Shader_Cache.tscn" type="PackedScene" id=11]
[ext_resource path="res://addons/vr-common/functions/Function_Teleport.tscn" type="PackedScene" id=12]
[ext_resource path="res://addons/vr-common/functions/Function_Pickup.tscn" type="PackedScene" id=13]
[sub_resource type="CubeMesh" id=1]
size = Vector3( 0.001, 0.001, 0.001 )
[node name="Main" type="Spatial"]
script = ExtResource( 1 )
[node name="Lights" type="Spatial" parent="."]
visible = false
[node name="DirectionalLight" type="DirectionalLight" parent="Lights"]
transform = Transform( -0.866901, 0.261547, -0.424354, -0.0119428, 0.840153, 0.542219, 0.498339, 0.475118, -0.725205, -2, 8.80618, 2 )
visible = false
layers = 524288
shadow_enabled = true
shadow_bias = 0.09
[node name="ReflectionProbe" type="ReflectionProbe" parent="Lights"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.24475, 0 )
visible = false
layers = 524288
max_distance = 100.0
extents = Vector3( 12.3054, 3.22752, 7.65602 )
box_projection = true
enable_shadows = true
cull_mask = 524289
[node name="OculusFirstPerson" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0 )
[node name="ARVRCamera" parent="OculusFirstPerson" index="0"]
environment = ExtResource( 3 )
current = true
[node name="vr_common_shader_cache" parent="OculusFirstPerson/ARVRCamera" index="1" instance=ExtResource( 11 )]
[node name="fighter_material" type="MeshInstance" parent="OculusFirstPerson/ARVRCamera/vr_common_shader_cache"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2 )
mesh = SubResource( 1 )
material/0 = ExtResource( 5 )
[node name="Function_Teleport" parent="OculusFirstPerson/Left_Hand" index="1" instance=ExtResource( 12 )]
collision_layer = 524288
collision_mask = 524288
[node name="Function_Pickup" parent="OculusFirstPerson/Left_Hand" index="2" instance=ExtResource( 13 )]
collision_layer = 0
impulse_factor = 2.0
[node name="Function_Direct_movement" parent="OculusFirstPerson/Right_Hand" index="1" instance=ExtResource( 4 )]
camera = NodePath("../../ARVRCamera")
canFly = false
[node name="Function_Pickup" parent="OculusFirstPerson/Right_Hand" index="2" instance=ExtResource( 13 )]
collision_layer = 0
impulse_factor = 2.0
[node name="Rooms" type="Spatial" parent="."]
[node name="Room_01" parent="Rooms" instance=ExtResource( 9 )]
[node name="Room_02" parent="Rooms" instance=ExtResource( 8 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, 15 )
arvr_camera = NodePath("../../OculusFirstPerson/ARVRCamera")
left_controller = NodePath("../../OculusFirstPerson/Left_Hand")
right_controller = NodePath("../../OculusFirstPerson/Right_Hand")
[node name="Sliding_door_01" parent="Rooms" instance=ExtResource( 10 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 8 )
[node name="Sliding_door_02" parent="Rooms" instance=ExtResource( 10 )]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -5, 0, 15 )
[node name="Sliding_door_03" parent="Rooms" instance=ExtResource( 10 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -12, 0, 24 )
[node name="Corridor_01" parent="Rooms" instance=ExtResource( 6 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 15 )
[node name="Corridor_02" parent="Rooms" instance=ExtResource( 6 )]
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -12, 0, 31 )
[node name="Room_03" parent="Rooms" instance=ExtResource( 7 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 31 )
[connection signal="slide_door" from="Rooms/Sliding_door_02" to="." method="_on_Sliding_door_02_slide_door"]
[editable path="OculusFirstPerson"]