- Home /
Apply Local Rotations to VR Camera
Hello all. I am trying to apply perturbations to user view in VR for an experimental system. What I am trying to do is that regardless of the direction the user looks at, I want to rotate his/her view in x direction. Unfortunately applying transform.Rotate() or changes on transform.localEulerAngles does not work directly on a VR camera object and I should use an empty parent object and attache a script to that. The problem with that is the rotation on x would just rotate the parent object and changes the vr view accordingly which is not the case I want. Would anybody know a solution?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612201749im_/https://answers.unity.com/themes/thub/images/avi.jpg)