We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Clicking vs Dragging

Home Forums Puzzles Clicking vs Dragging

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #27772
    GlifTekGlifTek
    Licensee

    Hi gliftek,
    thank you for your answer. A lot of time has passed since I posted that message, and I was able to solve the issue with the list with object names since then. I don’t think I had found the trick with the hidden puzzle for the abs value though ;-)

    HAH!… didn’t notice the date on that! just that it was a recent thread because of the recent comment.
    :)

    #27852
    GlifTekGlifTek
    Licensee

    Using a when moved can help test if mouse is being “dragged” in this case…
    when moved puzzle
    Note: A wee bit more testing reveals that after: 0.1 seconds seems to work better.

    As my old method doesn’t work anymore for singe reason, I tried this method with mixed results.
    Has anyone gotten a good method working to have the orbital camera not click things while dragging-to-orbit?

    Thanks!

    #32454

    I’m having this same issue. The “when clicked” puzzle seems to be triggered when the mouse is pressed, not released. Is there a reason for this? Is there a way of allowing the user to orbit an object without trigger clicks everywhere?

    #32455
    GlifTekGlifTek
    Licensee

    I’m having this same issue. The “when clicked” puzzle seems to be triggered when the mouse is pressed, not released. Is there a reason for this? Is there a way of allowing the user to orbit an object without trigger clicks everywhere?

    One way I had (cumbersome) is to have a toggle switch button in the GUI that makes a variable, say, “rotate” true or false, then in your click puzzle Check if rotate is false in order to continue puzzles in the click puzzle.

    If true, only the rotating happens.

    ALSO if your camera has its distance to the object locked , you can have an invisible html div …and using the bind html puzzle have it cover the screen space of the object.

    Then you can use the html event puzzles to make the mouse/pointer events more accurate with mouseup etc, to distinguish it from just mousedown

    OR… Hah…even more simple…
    Just put the html mouseup puzzle IN the click event puzzle to check if it happens after the click.

Viewing 4 posts - 16 through 19 (of 19 total)
  • You must be logged in to reply to this topic.