-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathARVRPlayer.tscn
49 lines (36 loc) · 1.9 KB
/
ARVRPlayer.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
[gd_scene load_steps=8 format=2]
[ext_resource path="res://TouchController.gd" type="Script" id=1]
[ext_resource path="res://addons/godot_ovrmobile/example_scenes/touch_controller.dae" type="PackedScene" id=2]
[ext_resource path="res://ARVRPlayer.gd" type="Script" id=3]
[ext_resource path="res://DebugGUI.tscn" type="PackedScene" id=4]
[sub_resource type="PlaneMesh" id=1]
size = Vector2( 0.2, 0.2 )
[sub_resource type="ViewportTexture" id=2]
viewport_path = NodePath("ARVRLeftController/MeshInstance/Viewport")
[sub_resource type="SpatialMaterial" id=3]
resource_local_to_scene = true
flags_transparent = true
albedo_texture = SubResource( 2 )
[node name="ARVROrigin" type="ARVROrigin"]
script = ExtResource( 3 )
[node name="ARVRCamera" type="ARVRCamera" parent="."]
[node name="ARVRLeftController" type="ARVRController" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.426196 )
script = ExtResource( 1 )
[node name="touch_controller" parent="ARVRLeftController" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0 )
[node name="MeshInstance" type="MeshInstance" parent="ARVRLeftController"]
transform = Transform( 1, 0, 0, 0, 0.258819, -0.965926, 0, 0.965926, 0.258819, 0, 0.115816, -0.074297 )
mesh = SubResource( 1 )
material/0 = SubResource( 3 )
[node name="Viewport" type="Viewport" parent="ARVRLeftController/MeshInstance"]
size = Vector2( 200, 200 )
transparent_bg = true
render_target_v_flip = true
[node name="DebugGUI" parent="ARVRLeftController/MeshInstance/Viewport" instance=ExtResource( 4 )]
[node name="ARVRRightController" type="ARVRController" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.359382 )
controller_id = 2
script = ExtResource( 1 )
[node name="touch_controller" parent="ARVRRightController" instance=ExtResource( 2 )]
transform = Transform( 1, 8.74228e-08, 0, -8.74228e-08, 1, 0, 0, 0, -1, 0, 0, 0 )