Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
main: minor bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
coderofsalvation committed May 17, 2024
1 parent 3800b99 commit 1e88df4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/godot/main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ func _ready():
xrf.src.addExtension.call(".*\\.mp3$", xrf.src.audio ) #

add_child(xrf)
#xrf.to("https://xrfragment.org/other.glb", _onXRF )
xrf.to("http://localhost:8080/example/assets/other.glb", _onXRF )
xrf.to("https://xrfragment.org/other.glb", _onXRF )
player = find_child("PlayerBody") # optional: use PlayerBody from godot-xr-tools
player.enabled = false # optional: turn off gravity

Expand Down

0 comments on commit 1e88df4

Please sign in to comment.