Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenXR] Fix LOCAL_FLOOR emulation on HTC Vive XR Elite #93678

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

dsnopek
Copy link
Contributor

@dsnopek dsnopek commented Jun 27, 2024

Fixes #93647

The main change here, is just that we wait until the next frame to measure the floor height. However, I also took the opportunity to refactor and clean up the LOCAL_FLOOR emulation code a little bit.

(Unlike I previously hypothesized, we'd didn't break the LOCAL_FLOOR emulation - it still worked for me on Meta Quest when hard-coding it to use the emulation. The HTC Vive XR Elite just needs to wait a frame, whereas the Quest doesn't.)

@akien-mga akien-mga changed the title [OpenXR] Fix LOCAL_FLOOR emulation on HTC Vive XR Elite [OpenXR] Fix LOCAL_FLOOR emulation on HTC Vive XR Elite Jun 28, 2024
@akien-mga akien-mga merged commit 33053df into godotengine:master Jun 28, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenXR local floor emulation is not working on HTC Elite (and possibly other devices)
3 participants