I’m creating a little game where one can walk around on a platform. I’ve built it using a camera with orbit controls + arrow keys to walk the player object. The orbit controls are fixed to the player object.
On mobile I added a virtual joystick to do the walking. Everything works fine, except that I cannot use the joystick and rotate the orbit controls at the same time. The event listener on the joystick is limited to the dom element only, so i am able to trigger both events separately. But when I am tap-holding the joystick, I can’t look around with the orbit controls. They seem to be blocked by the first tap-hold on another element. Can someone give me a hint on how to get some kind of multitouch functionality for the orbit controls? (panning, zooming, … is all deactivated).
Here’s an image of the screen:
(If it’s not enough, i can also upload a video or demo code)