Forum Discussion
muttsang
4 years agoExplorer
XR Recenter Not working in Oculus Quest 2 Unity XR interaction toolkit
Hi, I am using XR Interaction toolkit and XR Plugin for the Oculus Quest 2. I'm trying to make it so that when the user presses the "A" button on the oculus quest 2 controller, It triggers this func...
laurisD
4 years agoProtege
I think you can just reset the postion of the player :
public void ResetCamera()
{
Rig.transform.position = Vector3.zero;
Debug.Log("Thanks LaurisD :D");
}muttsang
4 years agoExplorer
Hi we've tried this but the head tracking picks up immediately after setting the transform vector to zero. As I've mentioned in my previous reply, we've decided to settle for the default "holding the system button" for now but leave the code for recentering in the files as it will be useful for other VR platforms.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 26 days ago
- 2 years ago