Getting click event of the model as coordinate #2613
Replies: 3 comments
-
Does this help? https://github.com/google/model-viewer/blob/master/packages/modelviewer.dev/src/tester.ts#L147 |
Beta Was this translation helpful? Give feedback.
-
Not sure if this will return the value i'm expecting, Will try and let you know. Thanks for the fast support :) |
Beta Was this translation helpful? Give feedback.
-
@softmarshmallow the link from the @elalish should work. As, I was also using this methodology to display the annotations on the desired clicked position when I was working on the annotations on my project. But keep in mind two to three things. you have to focus on Another important thing, if you are working with two If you found your solution feel free to close the issue and open it again if you need any help. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
From example, i cannot find example of getting the click event of the model.
The final approach that i want to establish is, getting click event, displaying annotations on to that clicked pos of model.
References:
Beta Was this translation helpful? Give feedback.
All reactions