openvr icon indicating copy to clipboard operation
openvr copied to clipboard

ResetSeatedZeroPose Not working in Unity.

Open tehassimilatoror opened this issue 6 years ago • 2 comments

Valve.VR.OpenVR.System.ResetSeatedZeroPose(); Valve.VR.OpenVR.Compositor.SetTrackingSpace(Valve.VR.ETrackingUniverseOrigin.TrackingUniverseSeated);

Calling these should reposition the users current location IRL to the desired position in game, yes? Or, am I misunderstanding this: https://github.com/ValveSoftware/openvr/wiki/IVRSystem::ResetSeatedZeroPose

I've been reaching out on the SteamVR Developer Hardware Forums and being told to reset the position manually because ResetSeatedZeroPose() doesn't work.

This seems to be a very common issue, since 2012: https://forum.unity.com/threads/openvr-how-to-reset-camera-properly.417509/#post-2792972

We are being forced to find workarounds, or does everyone including myself just misunderstand how to use this?

Thanks..

tehassimilatoror avatar Jan 03 '20 22:01 tehassimilatoror

Window > SteamVR Input > Advanced Settings > SteamVR Settings > "Tracking Space Origin" drop-down menu, "Tracking Universe Seated"

Alternatively, Project Window > SteamVR_Resources > Resources > SteamVR_Settings > "Tracking Space Origin" drop-down menu, "Tracking Universe Seated"

Once properly selected, one only needs to call Valve.VR.OpenVR.System.ResetSeatedZeroPose(); for example, on button state down, then manually adjust desired height.

tehassimilatoror avatar Jan 10 '20 02:01 tehassimilatoror

I've gone back to latest semi working version with was preview.3

ll-M-ll avatar Jul 27 '20 23:07 ll-M-ll