Forum Discussion
yigit_87
7 years agoHonored Guest
Reseting player position
Hello
shortly, im trying to reset my players position to the default position (which is the position where you can press the oculus button and hold and it resets you there) . I want this to work if user take off the headset. Tried many things including
void Start()
shortly, im trying to reset my players position to the default position (which is the position where you can press the oculus button and hold and it resets you there) . I want this to work if user take off the headset. Tried many things including
void Start()
{
OVRManager.HMDMounted += HandleMounted;
OVRManager.HMDUnmounted += HandleUnMounted;
}
private void HandleUnMounted()
{
OVRManager.display.RecenterPose();
}
But it doesnt work. I create a room scale place. So i have walk in real world which make me move in virtual world. If i press to the oculus button and hold that resets me perfectly. But i couldnt manage to make it work with headset of. I also tried giving positions manually to : Localavatarwithgrab , ovrcamerarig, tracking space.. Non worked..
PS: im working in unity
Thanks a lot for replies.
But it doesnt work. I create a room scale place. So i have walk in real world which make me move in virtual world. If i press to the oculus button and hold that resets me perfectly. But i couldnt manage to make it work with headset of. I also tried giving positions manually to : Localavatarwithgrab , ovrcamerarig, tracking space.. Non worked..
PS: im working in unity
Thanks a lot for replies.
2 Replies
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
- 5 years ago
- 3 years ago
- 3 years ago
- 7 months ago