main: minor bugfix
This commit is contained in:
parent
3800b99927
commit
1e88df4905
|
@ -18,8 +18,7 @@ func _ready():
|
||||||
xrf.src.addExtension.call(".*\\.mp3$", xrf.src.audio ) #
|
xrf.src.addExtension.call(".*\\.mp3$", xrf.src.audio ) #
|
||||||
|
|
||||||
add_child(xrf)
|
add_child(xrf)
|
||||||
#xrf.to("https://xrfragment.org/other.glb", _onXRF )
|
xrf.to("https://xrfragment.org/other.glb", _onXRF )
|
||||||
xrf.to("http://localhost:8080/example/assets/other.glb", _onXRF )
|
|
||||||
player = find_child("PlayerBody") # optional: use PlayerBody from godot-xr-tools
|
player = find_child("PlayerBody") # optional: use PlayerBody from godot-xr-tools
|
||||||
player.enabled = false # optional: turn off gravity
|
player.enabled = false # optional: turn off gravity
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue