How to lock camera direction with Gyro turned on - Moblie and iPads

My first topic

I have made this (part of run parallel) to try locking the camera to a object and turn its opacity to 100% to make a switching scene smoothly.

But the camera can’t be locked to z-axis (to the cylinder on the camera) when gyro is turned on.
I thought that the problem will also happen with VR mode.

How can I edit the code or it can’t be fixed? Thanks for any help.

1 Like

Hi @HenryChoi we’re glad to have you here! Feel free to ask questions anytime :slight_smile:

To make it work, attach the item to the camera so that it’s always in front of the camera regardless of the rotation.

Hope this helps!