Issue with FirstPersonController joystick lock on multi touch

Multiple fingers end up being multiple joysticks. If you want the first finger to control movement and the second to control rotation then handle it like that

I am sorry that I might have not explained clearly. It’s not my multiple fingers at same time showing multiple joystick. Please try their demo link as if your playing FPS you will know what I am saying. Use first finger to control movement and second finger for swipe rotation. The second finger will leave blue spot when you swipe little faster.

by user 1141289362336784394

Hi @Yokesh Immersive what device and browser are you using? We have tested this on both iOS/safari and android/chrome and can’t reproduce what you describe.

Hi marcel, I am using android/chrome.

by user 1141289362336784394

WhatsApp_Video_2023-09-08_at_3.06.44_PM.mp4

by user 1141289362336784394

Ah thanks. Can you open an issue with this video in their github repository?

sure mate will do :slightly_smiling_face:

by user 1141289362336784394

Thanks - But perhaps it’s just a UI bug that can be circumvented in their library. I’ll try to take a look later

thank you

by user 1141289362336784394

Hi, added a small example using nipplejs. You can find it here: needle-engine-samples/package/Runtime/FirstPersonController/Scripts/FirstPersonController~/MobileControls.ts at 6ca2c7eecce49656c2dded70fee0d51ca5aecea7 · needle-tools/needle-engine-samples · GitHub

To use it with the FirstPersonController just add it to any object in your scene and assign the FirstPersonController object (make sure you have the nipplejs package installed)

there is also no issue with any controls being stuck on screen (like in your video above)

wow! thanks a lot man you guys are doing great job.:saluting_face:

by user 1141289362336784394