Skip to content

Commit

Permalink
Remove environment from scene_base.tscn and set environment in demo s…
Browse files Browse the repository at this point in the history
…cenes.

Updated physics settings.

Added check of environment property to scene_base.gd Renamed default_env.tres to demo_env.tres
  • Loading branch information
Malcolmnixon committed Apr 22, 2023
1 parent f8cdb6e commit 0ad64ab
Show file tree
Hide file tree
Showing 16 changed files with 66 additions and 28 deletions.
14 changes: 14 additions & 0 deletions addons/godot-xr-tools/staging/scene_base.gd
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,17 @@ func load_scene(p_scene_path : String) -> void:
## staging.
func reset_scene() -> void:
emit_signal("request_reset_scene")




# Verifies our staging has a valid configuration.
func _get_configuration_warnings() -> PackedStringArray:
var warnings := PackedStringArray()

# Report missing environment
if !environment:
warnings.append("No environment specified")

# Return warnings
return warnings
4 changes: 1 addition & 3 deletions addons/godot-xr-tools/staging/scene_base.tscn
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
[gd_scene load_steps=3 format=3 uid="uid://qbmx03iibuuu"]
[gd_scene load_steps=2 format=3 uid="uid://qbmx03iibuuu"]

[ext_resource type="Script" path="res://addons/godot-xr-tools/staging/scene_base.gd" id="1"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://default_env.tres" id="2"]

[node name="SceneBase" type="Node3D"]
script = ExtResource("1")
environment = ExtResource("2")

[node name="XROrigin3D" type="XROrigin3D" parent="."]

Expand Down
File renamed without changes.
26 changes: 15 additions & 11 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,21 @@ common/drop_mouse_on_gui_input_disabled=true

[layer_names]

3d_physics/layer_1="static_world"
3d_physics/layer_2="dynamic_world"
3d_physics/layer_3="object"
3d_physics/layer_4="wall_walk"
3d_physics/layer_5="grapple_target"
3d_physics/layer_17="held_object"
3d_physics/layer_18="player_hand"
3d_physics/layer_19="handle"
3d_physics/layer_20="player_body"
3d_physics/layer_21="pointable"
3d_physics/layer_22="pose_area"
3d_physics/layer_1="Static World"
3d_physics/layer_2="Dynamic World"
3d_physics/layer_3="Pickable Objects"
3d_physics/layer_4="Wall Walking"
3d_physics/layer_5="Grappling Target"
3d_physics/layer_17="Held Objects"
3d_physics/layer_18="Player Hands"
3d_physics/layer_19="Grab Handles"
3d_physics/layer_20="Player Body"
3d_physics/layer_21="Pointable Objects"
3d_physics/layer_22="Hand Pose Areas"

[physics]

3d/solver/contact_max_allowed_penetration=0.001

[rendering]

Expand Down
6 changes: 3 additions & 3 deletions scenes/basic_movement_demo/basic_movement_demo.tscn
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[gd_scene load_steps=16 format=3 uid="uid://c3pffsm74as2t"]
[gd_scene load_steps=17 format=3]

[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="1"]
[ext_resource type="Script" path="res://scenes/demo_scene_base.gd" id="2_5ptmo"]
[ext_resource type="PackedScene" uid="uid://b4kad2kuba1yn" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_hand_low.tscn" id="2_54yy3"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://demo_env.tres" id="3_r3l36"]
[ext_resource type="PackedScene" uid="uid://b6bk2pj8vbj28" path="res://addons/godot-xr-tools/functions/movement_turn.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://bl2nuu3qhlb5k" path="res://addons/godot-xr-tools/functions/movement_direct.tscn" id="5"]
[ext_resource type="PackedScene" uid="uid://clt88d5d1dje4" path="res://addons/godot-xr-tools/functions/movement_crouch.tscn" id="5_2ekvc"]
Expand All @@ -18,11 +19,11 @@

[node name="BasicMovementDemo" instance=ExtResource("1")]
script = ExtResource("2_5ptmo")
environment = ExtResource("3_r3l36")

[node name="LeftHand" parent="XROrigin3D/LeftHand" index="0" instance=ExtResource("2_54yy3")]

[node name="MovementDirect" parent="XROrigin3D/LeftHand" index="1" instance=ExtResource("5")]
max_speed = 3.0
strafe = true

[node name="MovementJump" parent="XROrigin3D/LeftHand" index="2" instance=ExtResource("10")]
Expand All @@ -35,7 +36,6 @@ crouch_button_action = "by_button"
[node name="RightHand" parent="XROrigin3D/RightHand" index="0" instance=ExtResource("6_0hbex")]

[node name="MovementDirect" parent="XROrigin3D/RightHand" index="1" instance=ExtResource("5")]
max_speed = 3.0

[node name="MovementTurn" parent="XROrigin3D/RightHand" index="2" instance=ExtResource("4")]

Expand Down
4 changes: 3 additions & 1 deletion scenes/climbing_gliding_demo/climbing_gliding_demo.tscn
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[gd_scene load_steps=24 format=3 uid="uid://c7ebkdn7ryqrp"]
[gd_scene load_steps=25 format=3]

[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="1"]
[ext_resource type="Script" path="res://scenes/demo_scene_base.gd" id="2_nosao"]
[ext_resource type="PackedScene" uid="uid://b4kad2kuba1yn" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_hand_low.tscn" id="2_xkd6u"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://demo_env.tres" id="3_tyrna"]
[ext_resource type="PackedScene" uid="uid://b6bk2pj8vbj28" path="res://addons/godot-xr-tools/functions/movement_turn.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://bl2nuu3qhlb5k" path="res://addons/godot-xr-tools/functions/movement_direct.tscn" id="5"]
[ext_resource type="PackedScene" uid="uid://diyu06cw06syv" path="res://addons/godot-xr-tools/player/player_body.tscn" id="6"]
Expand Down Expand Up @@ -30,6 +31,7 @@ size = Vector3(200, 1, 200)

[node name="ClimbingGlidingDemo" instance=ExtResource("1")]
script = ExtResource("2_nosao")
environment = ExtResource("3_tyrna")

[node name="XROrigin3D" parent="." index="0"]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -89, 36, -65)
Expand Down
4 changes: 3 additions & 1 deletion scenes/footstep_movement_demo/footstep_movement_demo.tscn
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[gd_scene load_steps=19 format=3 uid="uid://di3m8og7wdtw7"]
[gd_scene load_steps=20 format=3]

[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="1"]
[ext_resource type="Script" path="res://scenes/demo_scene_base.gd" id="1_yauh3"]
[ext_resource type="PackedScene" uid="uid://rypqa6qcv0st" path="res://assets/maps/basic_map.tscn" id="2"]
[ext_resource type="PackedScene" uid="uid://clt88d5d1dje4" path="res://addons/godot-xr-tools/functions/movement_crouch.tscn" id="3"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://demo_env.tres" id="3_1ck1y"]
[ext_resource type="PackedScene" uid="uid://mnoirgubr2js" path="res://scenes/footstep_movement_demo/objects/instructions.tscn" id="3_8248t"]
[ext_resource type="PackedScene" uid="uid://diyu06cw06syv" path="res://addons/godot-xr-tools/player/player_body.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://bl2nuu3qhlb5k" path="res://addons/godot-xr-tools/functions/movement_direct.tscn" id="5"]
Expand All @@ -28,6 +29,7 @@ walk_pitch_maximum = 1.2

[node name="FootstepMovementDemo" instance=ExtResource("1")]
script = ExtResource("1_yauh3")
environment = ExtResource("3_1ck1y")

[node name="LeftHand" parent="XROrigin3D/LeftHand" index="0" instance=ExtResource("6")]

Expand Down
4 changes: 3 additions & 1 deletion scenes/grappling_demo/grappling_demo.tscn
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[gd_scene load_steps=19 format=3 uid="uid://cvnl210i6nydl"]
[gd_scene load_steps=20 format=3]

[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://c78tjrtiyqna8" path="res://addons/godot-xr-tools/functions/movement_grapple.tscn" id="2"]
[ext_resource type="PackedScene" uid="uid://b4kad2kuba1yn" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_hand_low.tscn" id="2_7xgbg"]
[ext_resource type="Script" path="res://scenes/demo_scene_base.gd" id="2_lm0po"]
[ext_resource type="PackedScene" uid="uid://bl2nuu3qhlb5k" path="res://addons/godot-xr-tools/functions/movement_direct.tscn" id="3"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://demo_env.tres" id="3_kijvh"]
[ext_resource type="PackedScene" uid="uid://bxm1ply47vaan" path="res://addons/godot-xr-tools/functions/movement_climb.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://c2q5phg8w08o" path="res://addons/godot-xr-tools/functions/movement_jump.tscn" id="5"]
[ext_resource type="PackedScene" uid="uid://l2n30mpbkdyw" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/right_hand_low.tscn" id="6_n2v2n"]
Expand All @@ -21,6 +22,7 @@

[node name="GrapplingDemo" instance=ExtResource("1")]
script = ExtResource("2_lm0po")
environment = ExtResource("3_kijvh")

[node name="XROrigin3D" parent="." index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 28)
Expand Down
4 changes: 3 additions & 1 deletion scenes/interactables_demo/interactables_demo.tscn
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[gd_scene load_steps=25 format=3 uid="uid://hv3is88xy8k4"]
[gd_scene load_steps=26 format=3]

[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://rypqa6qcv0st" path="res://assets/maps/basic_map.tscn" id="2"]
[ext_resource type="Script" path="res://scenes/demo_scene_base.gd" id="2_a3nc2"]
[ext_resource type="PackedScene" uid="uid://bdwmserhqai5h" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_physics_hand_low.tscn" id="2_ho402"]
[ext_resource type="PackedScene" uid="uid://3a6wjr3a13vd" path="res://assets/meshes/teleport/teleport.tscn" id="3"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://demo_env.tres" id="3_ikpct"]
[ext_resource type="PackedScene" uid="uid://bft3xyxs31ci3" path="res://addons/godot-xr-tools/functions/function_pose_detector.tscn" id="3_s2g5l"]
[ext_resource type="Texture2D" uid="uid://ckw6nliyayo6a" path="res://scenes/main_menu/return to main menu.png" id="4"]
[ext_resource type="PackedScene" uid="uid://dukyhft262nrv" path="res://assets/meshes/interactables/slider_snap.tscn" id="5"]
Expand All @@ -27,6 +28,7 @@

[node name="InteractablesDemo" instance=ExtResource("1")]
script = ExtResource("2_a3nc2")
environment = ExtResource("3_ikpct")

[node name="LeftPhysicsHand" parent="XROrigin3D/LeftHand" index="0" instance=ExtResource("2_ho402")]

Expand Down
4 changes: 3 additions & 1 deletion scenes/main_menu/main_menu_level.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[gd_scene load_steps=38 format=3 uid="uid://utga61rlgb3t"]
[gd_scene load_steps=39 format=3]

[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="1"]
[ext_resource type="Script" path="res://scenes/main_menu/main_menu_level.gd" id="2_taoax"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://demo_env.tres" id="3_155kd"]
[ext_resource type="PackedScene" uid="uid://rypqa6qcv0st" path="res://assets/maps/basic_map.tscn" id="4"]
[ext_resource type="PackedScene" path="res://addons/godot-xr-tools/player/poke/poke.tscn" id="4_eoo0b"]
[ext_resource type="PackedScene" uid="uid://b6bk2pj8vbj28" path="res://addons/godot-xr-tools/functions/movement_turn.tscn" id="5"]
Expand Down Expand Up @@ -90,6 +91,7 @@ node_connections = [&"output", 0, &"Grip", &"Grip", 0, &"Trigger", &"Grip", 1, &

[node name="MainMenuLevel" instance=ExtResource("1")]
script = ExtResource("2_taoax")
environment = ExtResource("3_155kd")

[node name="LeftHand" parent="XROrigin3D/LeftHand" index="0" instance=ExtResource("23_pr05t")]

Expand Down
4 changes: 3 additions & 1 deletion scenes/origin_gravity_demo/origin_gravity_demo.tscn
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[gd_scene load_steps=22 format=3 uid="uid://dyfx10nwe0oil"]
[gd_scene load_steps=23 format=3]

[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://rypqa6qcv0st" path="res://assets/maps/basic_map.tscn" id="2"]
[ext_resource type="Script" path="res://scenes/demo_scene_base.gd" id="2_xypqg"]
[ext_resource type="Material" path="res://assets/wahooney.itch.io/brown_grid_triplanar.tres" id="3"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://demo_env.tres" id="3_ejami"]
[ext_resource type="PackedScene" uid="uid://diyu06cw06syv" path="res://addons/godot-xr-tools/player/player_body.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://c2q5phg8w08o" path="res://addons/godot-xr-tools/functions/movement_jump.tscn" id="5"]
[ext_resource type="PackedScene" uid="uid://b6bk2pj8vbj28" path="res://addons/godot-xr-tools/functions/movement_turn.tscn" id="6"]
Expand Down Expand Up @@ -37,6 +38,7 @@ point_count = 5

[node name="OriginGravityDemo" instance=ExtResource("1")]
script = ExtResource("2_xypqg")
environment = ExtResource("3_ejami")

[node name="XROrigin3D" parent="." index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, 36)
Expand Down
4 changes: 3 additions & 1 deletion scenes/pickable_demo/pickable_demo.tscn
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[gd_scene load_steps=27 format=3 uid="uid://cp1qvegshx1lf"]
[gd_scene load_steps=28 format=3]

[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://rypqa6qcv0st" path="res://assets/maps/basic_map.tscn" id="2"]
[ext_resource type="PackedScene" uid="uid://bdwmserhqai5h" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_physics_hand_low.tscn" id="2_8wi6c"]
[ext_resource type="Script" path="res://scenes/demo_scene_base.gd" id="2_kjksy"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://demo_env.tres" id="3_5jcff"]
[ext_resource type="PackedScene" uid="uid://3a6wjr3a13vd" path="res://assets/meshes/teleport/teleport.tscn" id="5"]
[ext_resource type="PackedScene" uid="uid://btf05hjpw6k05" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/right_physics_hand_low.tscn" id="5_laayj"]
[ext_resource type="Texture2D" uid="uid://ckw6nliyayo6a" path="res://scenes/main_menu/return to main menu.png" id="6"]
Expand All @@ -29,6 +30,7 @@

[node name="PickableDemo" instance=ExtResource("1")]
script = ExtResource("2_kjksy")
environment = ExtResource("3_5jcff")

[node name="LeftPhysicsHand" parent="XROrigin3D/LeftHand" index="0" instance=ExtResource("2_8wi6c")]

Expand Down
4 changes: 3 additions & 1 deletion scenes/pointer_demo/pointer_demo.tscn
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[gd_scene load_steps=15 format=3 uid="uid://deq6satll2p5x"]
[gd_scene load_steps=16 format=3]

[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://3a6wjr3a13vd" path="res://assets/meshes/teleport/teleport.tscn" id="2"]
[ext_resource type="Script" path="res://scenes/demo_scene_base.gd" id="2_pbiwr"]
[ext_resource type="PackedScene" uid="uid://rypqa6qcv0st" path="res://assets/maps/basic_map.tscn" id="3"]
[ext_resource type="PackedScene" uid="uid://b4kad2kuba1yn" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_hand_low.tscn" id="3_j5kt2"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://demo_env.tres" id="3_suaq2"]
[ext_resource type="Texture2D" uid="uid://ckw6nliyayo6a" path="res://scenes/main_menu/return to main menu.png" id="4"]
[ext_resource type="PackedScene" uid="uid://cqhw276realc" path="res://addons/godot-xr-tools/functions/function_pointer.tscn" id="5"]
[ext_resource type="PackedScene" uid="uid://l2n30mpbkdyw" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/right_hand_low.tscn" id="6_rnrhb"]
Expand All @@ -17,6 +18,7 @@

[node name="PointerDemo" instance=ExtResource("1")]
script = ExtResource("2_pbiwr")
environment = ExtResource("3_suaq2")

[node name="LeftHand" parent="XROrigin3D/LeftHand" index="0" instance=ExtResource("3_j5kt2")]

Expand Down
4 changes: 3 additions & 1 deletion scenes/poke_demo/poke_demo.tscn
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[gd_scene load_steps=34 format=3 uid="uid://b4fy6i3e7s08u"]
[gd_scene load_steps=35 format=3]

[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://xqimcf20s2jp" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/right_fullglove_low.tscn" id="2"]
[ext_resource type="Script" path="res://scenes/demo_scene_base.gd" id="2_sgf8o"]
[ext_resource type="PackedScene" uid="uid://bq86r4yll8po" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_fullglove_low.tscn" id="3"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://demo_env.tres" id="3_uarvu"]
[ext_resource type="PackedScene" uid="uid://rypqa6qcv0st" path="res://assets/maps/basic_map.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://bft3xyxs31ci3" path="res://addons/godot-xr-tools/functions/function_pose_detector.tscn" id="4_whmmd"]
[ext_resource type="PackedScene" uid="uid://3a6wjr3a13vd" path="res://assets/meshes/teleport/teleport.tscn" id="5"]
Expand Down Expand Up @@ -88,6 +89,7 @@ size = Vector3(1, 0.5, 0.01)

[node name="PokeDemo" instance=ExtResource("1")]
script = ExtResource("2_sgf8o")
environment = ExtResource("3_uarvu")

[node name="LeftHand" parent="XROrigin3D/LeftHand" index="0" instance=ExtResource("3")]

Expand Down
4 changes: 3 additions & 1 deletion scenes/sprinting_demo/sprinting_demo.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[gd_scene load_steps=22 format=3 uid="uid://puhb2afbwjvb"]
[gd_scene load_steps=23 format=3]

[ext_resource type="PackedScene" uid="uid://c2q5phg8w08o" path="res://addons/godot-xr-tools/functions/movement_jump.tscn" id="1"]
[ext_resource type="Script" path="res://scenes/demo_scene_base.gd" id="2_5a8oj"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://demo_env.tres" id="3_27am1"]
[ext_resource type="PackedScene" uid="uid://rypqa6qcv0st" path="res://assets/maps/basic_map.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="6"]
[ext_resource type="PackedScene" uid="uid://b4kad2kuba1yn" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_hand_low.tscn" id="7"]
Expand Down Expand Up @@ -31,6 +32,7 @@ point_count = 7

[node name="SprintingDemo" instance=ExtResource("6")]
script = ExtResource("2_5a8oj")
environment = ExtResource("3_27am1")

[node name="LeftHand" parent="XROrigin3D/LeftHand" index="0" instance=ExtResource("7")]
hand_material_override = ExtResource("12")
Expand Down
4 changes: 3 additions & 1 deletion scenes/teleport_demo/teleport_demo.tscn
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[gd_scene load_steps=12 format=3 uid="uid://7g6nh3s77jd7"]
[gd_scene load_steps=13 format=3]

[ext_resource type="PackedScene" uid="uid://qbmx03iibuuu" path="res://addons/godot-xr-tools/staging/scene_base.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://fiul51tsyoop" path="res://addons/godot-xr-tools/functions/function_teleport.tscn" id="2"]
[ext_resource type="Script" path="res://scenes/demo_scene_base.gd" id="2_sq0a2"]
[ext_resource type="Texture2D" uid="uid://ckw6nliyayo6a" path="res://scenes/main_menu/return to main menu.png" id="3"]
[ext_resource type="Environment" uid="uid://c75hc5t2ml5re" path="res://demo_env.tres" id="3_py1j5"]
[ext_resource type="PackedScene" uid="uid://diyu06cw06syv" path="res://addons/godot-xr-tools/player/player_body.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://b6bk2pj8vbj28" path="res://addons/godot-xr-tools/functions/movement_turn.tscn" id="5"]
[ext_resource type="PackedScene" uid="uid://3a6wjr3a13vd" path="res://assets/meshes/teleport/teleport.tscn" id="6"]
Expand All @@ -14,6 +15,7 @@

[node name="TeleportDemo" instance=ExtResource("1")]
script = ExtResource("2_sq0a2")
environment = ExtResource("3_py1j5")

[node name="FunctionTeleport" parent="XROrigin3D/LeftHand" index="0" instance=ExtResource("2")]

Expand Down

0 comments on commit 0ad64ab

Please sign in to comment.