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

Consolidate LocateTargetHitPoint methods #11699

Merged

Conversation

marlenaklein-msft
Copy link
Contributor

Overview

Consolidating the three LocateTargetHitPoint methods into one, a static helper which lives in the LineUtility class. This will take an XRRayInteractor and an IXRSelectInteractable, and will return the target local hit point, target local hit normal, target transform, and a reference point for calculating hit distance.

Changes

@marlenaklein-msft marlenaklein-msft enabled auto-merge (squash) July 12, 2023 17:50
@marlenaklein-msft marlenaklein-msft merged commit b7bbad9 into microsoft:mrtk3 Jul 12, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants