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

Example: Orient objects normal to hittest in webxr_ar_hittest #23573

Merged
merged 2 commits into from
Feb 24, 2022

Conversation

nosy-b
Copy link
Contributor

@nosy-b nosy-b commented Feb 23, 2022

Related issue: #23506

The webxr_ar_hittest example is great to show XR capabilites with a reticle and when tapping it generates cylinders at the position raycasted in your room.

In this small PR we added the normal orientation using the Hit test normal.
image

@mrdoob mrdoob added this to the r139 milestone Feb 24, 2022
@mrdoob mrdoob merged commit a7863bd into mrdoob:dev Feb 24, 2022
@mrdoob
Copy link
Owner

mrdoob commented Feb 24, 2022

Thanks!

donmccurdy pushed a commit to donmccurdy/three.js that referenced this pull request Mar 10, 2022
…#23573)

* Orient objects normal to hittest in example

* Update webxr_ar_hittest.html

Co-authored-by: mrdoob <[email protected]>
abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
…#23573)

* Orient objects normal to hittest in example

* Update webxr_ar_hittest.html

Co-authored-by: mrdoob <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants