Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Cafezinhu committed Mar 24, 2024
2 parents 79c8e0e + 088e47d commit 2e32e3d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Simulate XRController3D and XRCamera Input
- Setup your scene for VR. You can start by following Bastiaan Olij's tutorials
https://www.youtube.com/watch?v=wDXnsy2IH1A

- Insert ``XRSimulator.tscn`` into your scene, and then assign your ``XROrigin`` into the ``XR Origin`` parameter.
- Insert ``XRSimulator.tscn`` into Autoload.

![How to setup a VR Simulator](https://github.com/Cafezinhu/godot-vr-simulator/blob/main/github-assets/assigngif.gif?raw=true)

Expand Down
1 change: 0 additions & 1 deletion addons/xr-simulator/XRSimulator.gd
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ var key_map = {
@onready var viewport: Viewport = get_viewport()

func _on_node_added(node: Node):
print("node added:", node.name)
if node is XRCamera3D:
camera = node
elif node is XRController3D:
Expand Down

0 comments on commit 2e32e3d

Please sign in to comment.