Getting data-position information on mouse click. #4031
Unanswered
plutorkhan
asked this question in
Q&A
Replies: 1 comment 2 replies
-
This is the method you're looking for: https://modelviewer.dev/docs/#entrydocs-annotations-methods-positionAndNormalFromPoint |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to know how to get data-position (x, y, z) information when clicking on a specific part of the 3d model. This could be useful for adding annotations dynamically to specific parts of the model.
A relevant example is present in the model-viewer editor, however, I couldn't find any methods or functions that return x, y, z coordinates for the mouse click.
Beta Was this translation helpful? Give feedback.
All reactions