repo: janusweb action: commit revision: path_from: revision_from: 716af44226bf09d121734f0482f22145bb6317e8: path_to: revision_to:
commit 716af44226bf09d121734f0482f22145bb6317e8 Author: James BaicoianuDate: Fri Jun 12 14:57:00 2020 -0700 Spawn XR player at current player position diff --git a/scripts/client.js b/scripts/client.js
--- a/scripts/client.js
+++ b/scripts/client.js
@@ -254,7 +254,7 @@ elation.require(['engine.engine', 'engine.assets', 'engine.things.light_ambient'
if (view.xrsession) {
this.xrplayer = this.janusweb.spawn('janusxrplayer', 'xrplayer', {
janus: this.janusweb,
- position: [0,0,0],
+ position: V(player.pos),
mass: 10,
movespeed: 5000,
collidable: false,
-----END OF PAGE-----