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

Warn if XRHandModifier3D used with OpenXR and hand-tracking disabled #96587

Merged

Conversation

Malcolmnixon
Copy link
Contributor

With hand-tracking switching from default-enabled to default-disabled in Godot 4.4+ it's common for older projects to have broken hand-tracking. To help with this issue, this PR adds a warning to XRHandModifier3D nodes if OpenXR is enabled, but the OpenXR hand-tracking extension is disabled.

image

@Malcolmnixon Malcolmnixon requested a review from a team as a code owner September 5, 2024 04:20
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.

LGTM, will help people recognise this change and prevent some frustration.

Copy link
Contributor

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

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

It's not ideal having something OpenXR-specific in XRHandModifier3D which is meant to be general to any XR interface, however, I think this is an important enough warning that it's worth doing. (And it's checking if OpenXR is enabled first, so it shouldn't confuse folks using only WebXR.)

@akien-mga akien-mga merged commit af0058c into godotengine:master Sep 5, 2024
20 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.

5 participants