Reputation: 1999
I've used THREE.RollControls
for movements in a scene of tube geometry.
How do I use THREE.RollControls
for touch events ?
Upvotes: 0
Views: 745
Reputation: 11132
I would start by taking a look at the code for RollControls. Toward the bottom, you'll see where all the mouse events are bound to their handlers.
To add touch support, you can edit or extend RollControls to respond to touch events. I'd expect the mousemove, mousedown, and mouseup events to correspond to touchmove, touchstart, and touchend events respectively.
Upvotes: 1