Forum rules - please read before posting.

Camera Drag + Hotspot run on release

2»

Comments

  • edited August 2023

    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.

  • edited August 2023

    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.

    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?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.