New To The Forum? Click Here To Read The How To Guide. -- Developers Click Here.

Amplifying locomotion with OVR

rafvasqrafvasq Posts: 2
NerveGear

I am trying to 'amplify' the movement of a player in a virtual reality game. What I mean by this is that one meter of movement in reality is equal to 1.5 or even 2 meters in virtual reality. I'm using the OVR asset provided by Oculus; I can't find an implementation of this online but I've attempted the following:

camera.UpdatedAnchors += delegate (OVRCameraRig rig)
{
    float multiplier = 10;
    rig.leftEyeAnchor.localPosition *= multiplier;
    rig.rightEyeAnchor.localPosition *= multiplier;
    rig.centerEyeAnchor.localPosition *= multiplier;
};

While the local positions of the anchors above are being manipulated (I confirmed by printing the values), there is no change in the user experience, I feel movement as regularly as I did before. Am I updating the correct values?

Sign In or Register to comment.