Hovering points is imprecise #892
Unanswered
vladinator1000
asked this question in
Q&A
Replies: 1 comment
-
this has to do with the raycaster in threejs, you need to define a threshold for it <Canvas raycaster={{ params: { Points: { threshold: 0.1 } } } https://threejs.org/docs/index.html?q=ray#api/en/core/Raycaster.params i believe the reason is that a point is fully virtual, it only exists as a vertex and the thickness of it isn't a mesh that can be hit. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I wonder how would you make the
onPointerOver
event on thePoint
component more precise?I tried this but the precision is very rough. Am I going about it the right way? Not sure how you ray cast in Three.
firefox_18lRALfs8N.mp4
Beta Was this translation helpful? Give feedback.
All reactions