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

Enable getting suggested tracker names from OpenXR extensions #88311

Merged

Conversation

devloglogan
Copy link
Contributor

@devloglogan devloglogan commented Feb 14, 2024

Moves some of the hard-coded positional tracker names into their corresponding extension wrappers, and exposes them with their own get_suggested_tracker_names() function. Necessary if any vendor specific extensions like the one in GodotVR/godot_openxr_vendors#81 want to add suggested names.

Copy link
Contributor

@m4gr3d m4gr3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic looks good to me.

Leaving it up to @BastiaanOlij to comment on the design.

Copy link
Contributor

@BastiaanOlij BastiaanOlij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks perfect.

The only issue, but I think that should get its own PR and we already have an issue for this, is that the eye gaze interaction extension is currently only instanced if the eye gaze extension is enabled in project settings.

This needs to change, we should always instantiate the extension, but only enable it, as the meta data should always be registered. The tracker names are a bit of a grey area here as nothing will fall over if they are not among the suggested names.

@akien-mga akien-mga merged commit 482473a into godotengine:master Feb 14, 2024
16 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.

4 participants