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

Hi,
With the old plugin you had a function like

 vrCamera.setOrigin(pos.x,pos.y,pos.z);

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: http://developer.playcanvas.com/en/user-manual/vr/using-webvr/#camera-position-in-vr

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