onClick on mobile #1254
Unanswered
carmandale
asked this question in
Q&A
Replies: 1 comment 4 replies
-
threejs orbit controls are broken, they know about it. try OrbitControls from three-stdlib, it should make a difference. we use stdlib for all of our libs these days. |
Beta Was this translation helpful? Give feedback.
4 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.
-
this works on desktop and mobile
https://v5u3d.csb.app/
and works if I download it and run it in VS code. However, touch doesn't work in the Chrome dev tools responsive mobile simulator...and as I build up the project to a real project, I eventually lose the touch ability on actual mobile devices.
It seems to all stem from the Orbit Controls. If I disable that, touch events work everywhere.
Is there any known fix to get Orbit Controls to behave nicely? or do I have to build my own Orbit controls? I have tried to use onPointerUp as a replacement, but that also effects desktop and begins to get ugly.
thanks for any help.
Dale
Beta Was this translation helpful? Give feedback.
All reactions