03-25-2021 09:11 AM
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.
Solved! Go to Solution.
03-26-2021 08:24 AM
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.
03-26-2021 08:24 AM
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.