bio998 Posted May 6, 2021 Posted May 6, 2021 Hi, I'd like to detect when the user does a 're-center' from the SteamVR menu when using my game. How do I detect a recenter event? The equivalent in the Oculus SDK is to subscribe to the OVRManager event: OVRManager.display.RecenteredPose += SomeFunction; How do I do it using SteamVR? (I'm using Unity 2019.4.22f1) Thanks!
HackPerception Posted May 10, 2021 Posted May 10, 2021 @bio998 If using SteamVR SDK, you call IVRSystem::ResetSeatedZeroPose. You may have to go into your project settings and ensure your tracking universe is set to seated to ensure the transform behaves as properly - how you do this step depends on your Unity version but in general you go to Window > SteamVR Input > Advanced Settings > SteamVR Settings > "Tracking Space Origin" [drop-down menu], "Tracking Universe Seated".
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now