How to change the origin point on the new WebVR api?

With the old plugin you had a function like


that you could use to change the origin point of the VR camera (this is the centre of the floor space in roomscale experiences)

how does this translate to the new API, I use this function quite a lot to teleport around a scene.

also in the old system I had to build my own function called getOrigin() which was the compliment to the above. is there anything in the new api for getting the current origin point?

You can offset the VR camera position and orientation by using a parent entity on the camera. See here:

oh of course! I read that yesterday but never made the connection, thanks.