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.

Hide panel on click not on camera move

Home Forums Puzzles Hide panel on click not on camera move

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #61116

    I built an application where I present a technology system to the user. Each equipment piece has its own annotation. When the user clicks on the annotation, the information panel appears (ID: information_box) – the animation of this panel was made in Webflow (a nice slide from the screen edge).

    To simulate the mouse click that plays the animation, I am using Javascript and it works perfectly fine. When the information panel is visible, and the user clicks wherever on the screen the information panel should hide and this works fine as well.

    But my problem is that the information panel hides even if the user MOVES the camera. The program recognizes the first click and automatically hides the panel. I want to disable the hiding action when the mouse is clicked to move the camera, so the user still has access to information while watching the equipment from different angles. The information panel should hide only on a single click without the camera movement.

    I tried to set up the variable states like for the antialiasing tutorial for the Swiss Knife, but it doesn’t work (I tried different velocity values but with no luck). Do you guys have any idea how I can make it work?

    You must be logged in to view attached files.

    Use a time delay


    Thank you, it worked! ;-)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.