I have this as a camera
const camera = new THREE.PerspectiveCamera(
90,
window.innerWidth / window.innerHeight,
0.1,
1000
)
// camera.position.set(0, 0.0, 0)
camera.lookAt(0, 0, 0)
and I am adding this to the group
user.add(camera)
user.position.set(0.0, 0.3, 0.0)
// user.rotation.copy(camera.rotation)
scene.add(user)
and for some reason, my camera is on top of the house and house’s floor lies in origin and house height is more than 2.
On normal mode, this opens like this:
but on enter VR mode:
this is my camera code:
and i add this camera to the group
can anyone please help me?