Skip to content

Commit

Permalink
Fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiaanOlij committed Jan 10, 2020
1 parent 394680d commit fa415b7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions demo/Main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ environment = SubResource( 2 )

[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.623013, -0.733525, 0.271654, 0.321394, 0.55667, 0.766044, -0.713134, -0.389948, 0.582563, 0, 100, 0 )
shadow_enabled = true

[node name="StaticBody" type="StaticBody" parent="."]
collision_layer = 2
collision_mask = 0

[node name="Ground" type="MeshInstance" parent="StaticBody"]
transform = Transform( 100, 0, 0, 0, 100, 0, 0, 0, 100, -0.251513, -1.19209e-07, -0.137402 )
Expand All @@ -62,6 +65,8 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.63647, -1.15364 )
[node name="vr_common_shader_cache" parent="OVRFirstPerson/ARVRCamera/shader_cache" index="5" instance=ExtResource( 3 )]

[node name="Function_Teleport" parent="OVRFirstPerson/Left_Hand" index="1" instance=ExtResource( 7 )]
collision_mask = 1048574
camera = NodePath("../../ARVRCamera")

[node name="Function_Direct_movement" parent="OVRFirstPerson/Right_Hand" index="1" instance=ExtResource( 6 )]
camera = NodePath("../../ARVRCamera")
Expand Down
2 changes: 2 additions & 0 deletions demo/Table.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ extents = Vector3( 1.10056, 0.0625992, 0.587781 )

[node name="Table" type="StaticBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -6 )
collision_layer = 2
collision_mask = 0

[node name="Leg1" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.5, 0.5 )
Expand Down
6 changes: 6 additions & 0 deletions demo/project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ window/vsync/use_vsync=false

singletons=[ "res://addons/godot-openvr/godot_openvr.gdnlib" ]

[layer_names]

3d_physics/layer_1="Player"
3d_physics/layer_2="Environment"
3d_physics/layer_3="Objects"

[rendering]

quality/filters/msaa=1
Expand Down

0 comments on commit fa415b7

Please sign in to comment.