mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
102.43k stars 35.36k forks source link

TransformControls mobile/tablet Clicking detection #8955

Closed rhairston closed 8 years ago

rhairston commented 8 years ago
Description of the problem

Screen touches do not read end of touch correctly for TransformControls (Axes, planes, and orbits stay selected until another part of the screen is touched)

This can cause errors when you include OrbitalControls and forget to tap off the screen to 'unclick' the controls.

I added a function to detect mobile devices locally which works, but it would seem like this idea should be done for all versions.

Three.js version

All mobile and tablet devices

rhairston commented 8 years ago

I switched back to orbital controls and made my own gizmo in a separate renderer then linked their camera positions.

mrdoob commented 8 years ago

Fixed 938d587dd141a3585324848fa15d4d4e9b62773e.