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

Expose profile_changed signal to XRController3D #89219

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

devloglogan
Copy link
Contributor

Exposes the XRPositionalTracker profile_changed signal to users through XRController3D, just like other XRPositionalTracker signals like button_pressed, input_float_changed, etc.

Because the interaction profile changes as users swap between using controllers and hand tracking, making this signal available to users provides an easy way for them to detect that change. This was discussed a bit in GodotVR/godot_openxr_vendors#98

@devloglogan devloglogan requested review from a team as code owners March 6, 2024 15:25
@AThousandShips AThousandShips added this to the 4.x milestone Mar 6, 2024
@AThousandShips AThousandShips requested a review from a team March 6, 2024 15:25
@m4gr3d m4gr3d modified the milestones: 4.x, 4.3 Mar 6, 2024
@akien-mga akien-mga changed the title Expose profile_changed signal to XRController3D Expose profile_changed signal to XRController3D Mar 6, 2024
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.

Makes sense to me!

scene/3d/xr_nodes.cpp Outdated Show resolved Hide resolved
@akien-mga akien-mga merged commit 6c9a166 into godotengine:master Mar 6, 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.

5 participants