cancel
Showing results for 
Search instead for 
Did you mean: 

Move OVR camera but not hands

ak.7334
Honored Guest

Hi, I'm trying to build a VR climbing application in Unity for Quest 2. I want to be able to move the camera position to simulate change in elevation while leaving the hands in the same place. I have tried to do this by using ovrCamera.transform.Translate(distance) but when I do this, the hands also move with the camera (In Unity Inspector I set the reference to ovrCamera to be the CenterEyeAnchor). Does anyone know how to dissociate translation of camera from those of hands, so it appears that the perspective has changed while keeping hands in the same place?

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

ak.7334
Honored Guest

I fixed this by using a 'pull' mechanic in which the OVRCameraRig is moved inversely to the hand movement as the hands pull downwards. This gives illusion of keeping hands in place while moving the perspective. All set.

View solution in original post

1 REPLY 1

ak.7334
Honored Guest

I fixed this by using a 'pull' mechanic in which the OVRCameraRig is moved inversely to the hand movement as the hands pull downwards. This gives illusion of keeping hands in place while moving the perspective. All set.