can i use materialFromPoint in webXr ar mode ? #4847
-
my web App is almost complete and the only issue I'm facing now is that this method is not getting called when im in webxr ar const changeColorClick = async (event) => { modelViewer.addEventListener("touch", changeColorClick); i dont know if i can get it working or not in ar😅am i listening to the wrong event maybe? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 15 replies
-
I don't think there's a "touch" event on the web - perhaps you mean "touchstart"? https://developer.mozilla.org/en-US/docs/Web/API/Touch_events |
Beta Was this translation helpful? Give feedback.
Looks like this was fixed by mrdoob/three.js#29120 in r168 💯