I believe I've found the cause of the issue within AC, however. It's a bit of an edge-case, but I'll add a checkbox to the GameEngine's Player Interaction component for you to adjust the behaviour in the next update.
The new script seems to block any interaction still.
It's a bit of an edge-case,
I just want to make an issue clear again, before you'll invest more of your time in it. May be i still didn't explain it well.
I'm happy with how GameCamera2dDrag + ClickUpInteract2D works — it drags the camera and it avoids unintended interactions. Its just this side-effect (or a bug?) on touchscreen i'm trying to fix — when player can't interact with the first touch after camera drag released.
So It is not quite an edge-case, as i see it, since i do not need any special behaviour — it is more like an all-touchscreen-issue.
Comments
It looks like there is something missing in the script, as it gives me errors.
If it is missing "(" at the start of line 11? — i tried to add it — and then any interactions were disabled in game.
Typo - sorry about that, try it now.
I believe I've found the cause of the issue within AC, however. It's a bit of an edge-case, but I'll add a checkbox to the GameEngine's Player Interaction component for you to adjust the behaviour in the next update.
The new script seems to block any interaction still.
I just want to make an issue clear again, before you'll invest more of your time in it. May be i still didn't explain it well.
I'm happy with how GameCamera2dDrag + ClickUpInteract2D works — it drags the camera and it avoids unintended interactions. Its just this side-effect (or a bug?) on touchscreen i'm trying to fix — when player can't interact with the first touch after camera drag released.
So It is not quite an edge-case, as i see it, since i do not need any special behaviour — it is more like an all-touchscreen-issue.
Thanks a lot for your time and patience.
With v1.78.2, go to your scene's GameEngine's Player Interaction component, and check Hotspots Prevent Camera Dragging. Does that resolve it?