Hi Brian,
your sample doesn't work in oculus VR, just in cardboard like stereograph.
Therefore I try get in the space another way and I can just FirstPersonVRControls doesn't work in it.
what could be the problem?
controls = new THREE.VRControls( camera );
var fpVrControls = new THREE.FirstPersonVRControls(camera, scene);
fpVrControls.verticalMovement = true;
...
function animate(timestamp) {
vrControls.update(); //when I paste this line scene doesn't work
fpVrControls.update(timestamp); //when I paste this line scene doesn't work
effect.requestAnimationFrame( animate );
render();
}
Hi Brian, your sample doesn't work in oculus VR, just in cardboard like stereograph. Therefore I try get in the space another way and I can just FirstPersonVRControls doesn't work in it. what could be the problem?
controls = new THREE.VRControls( camera ); var fpVrControls = new THREE.FirstPersonVRControls(camera, scene);
...