Hi!
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?
Attachments:
You must be
logged in to view attached files.