Conflict with orbitControls and mesh event #1188
Answered
by
drcmda
xiaopohaier
asked this question in
Q&A
-
I setup orbitControls and then bind click event on mesh at the same scene. The click event always trigger after I put pointer on mesh and drag,How can I discriminate between two behaviors? |
Beta Was this translation helpful? Give feedback.
Answered by
drcmda
Apr 6, 2021
Replies: 1 comment
-
orbitcontrols adds its own event listener. you can disable it on pointerDown on the mesh if that's what you want. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
xiaopohaier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
orbitcontrols adds its own event listener. you can disable it on pointerDown on the mesh if that's what you want.