How to manipulate the camera rotation according to the cell phone orientation

Hello everyone, I need some help.

I have little experience with Playcanvas, and I would like to create a 3D world where I can manipulate the camera rotations according to the orientation/rotation of the cell phone (I believe a gyroscope will be necessary). If you have any project examples, it would be very helpful.

Note: the camera position will be fixed in the center.

Hello and welcome!

https://playcanvas.vercel.app/#/camera/fly

Hello, thank you for your reply

But it didn’t work here with the cell phone’s movement/gyroscope

Hi @lucas_anjos!

There are a few topics about gyroscope.

I’m not sure if they’ll be useful to you, but maybe you can search for gyroscope here on the forum.