Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Is it possible to freeze the camera and keep tracking of user's head rotations ?

Hello everyone,

I would like to freeze the camera only when the user is between two angles.
But when I do so, I lose the user's head rotations because I use camera.lookAt() to know where the user is gazing.

Do you have any suggestions or ideas to do help me out ?

Thank you,


  • Heaney-555Heaney-555 Posts: 137
    Don't freeze the camera in VR, that's not a good idea.

    What are you actually trying to achieve?
  • antoine.delaballeantoine.delaballe Posts: 6
    edited July 2018
    Yes I know this is not a good idea but I would like to experiment it.

    I'd like to block the user's gaze in a certain part of the video. If the user tries to look outside of an authorized angle, the user's gaze will be blocked until he re-gaze in the angle.

    EDIT : I would like to track the user head rotation without having to make the cameras follow this head rotation. Do you think it is possible ? (Actually i didn't find any way to just have 2 headTransform, one froze and the other not for example)

Sign In or Register to comment.