Hi,
I am not 100% sure but I think something happened to the orientation/position of vrCamera in script 2.0
previous to script 2.0 i used the following to put vive controllers into a scene by putting the following into an update on a model
var gamepads = navigator.getGamepads();
this.gamepad = gamepads[this.gamepadnum]; //set to 0 or 1 depending on which htc vive controller you want
var pos = this.gamepad.pose.position;
this.entity.setPosition(pos[0],pos[1],pos[2]);
this worked fine pre 2.0 and the controllers would appear relative to the HMD position in the correct place in room space
however now the controllers appear in a totally different place to the camera. almost as if their positions were rotated. but since i am reading the positions directly from the gamepad api and not through playcanvas I can only assume that it’s actually the vrCamera which is somehow rotated.
not sure if I am making much sense
anyway it’s effectively stopping me from using scripts 2.0 to develop apps for the HTC vive.