Simple VR movement

Hi!, I’m new to three.js (not in programming) and first post here.

I want to create a simple VR first person game and test it in my Oculus Quest. I’ve setup a room and it works ok, but I’m not be able to move the camera using the physical controller of the Oculus Quest (using the joystick)

You move your Oculus Joystick up, and the camera moves forward (in z axis) ¿is that possible?

Before posting here, I’ve spent 2 days searching and testing code but I can’t :_(

Any ideas or code ?
THANKS !
Raúl.

1 Like

You need a VR session for accessing controller event data. And in this case, the camera is transformed based on the tracking information of the headset.

1 Like