Button to trigger hotspot in 360 view

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
ggibbon
Posts: 59
Joined: Fri Aug 01, 2014 1:02 pm

Button to trigger hotspot in 360 view

Post by ggibbon » Fri Nov 09, 2018 11:12 am

Hi Hopki

Hope you are well.
I'm trying but failing to trigger the following.
Basically I have a item within a drop down menu
which I want to toggle visibility of my
my flashing hotspot within a node.
Can't get it to show on or off within node.
Any ideas?

Thanks
Greg :D :D
Capture.JPG
Capture.JPG (212.42 KiB) Viewed 25 times

User avatar
Hopki
Gnome
Posts: 8627
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Button to trigger hotspot in 360 view

Post by Hopki » Mon Nov 12, 2018 9:29 pm

Hi Greg,
If you want to address a hotspot then you need to add a hash "#" to the front of the elements ID.
Example, mouse click, hide element, #rectangle1

However this will only hide it in this node, as soon as you change nodes it will reappear.
The only way to hide and show hotspots even when changing nodes is use a variable.

So add a variable to the skin, example vis_ht, True/False, set to true.
Then in the hotspot template add a visible logic block, vis_ht = false, visible false.

Then you can use the action set variable value vis_ht to false and true.
If you want to toggle use the operation Not(¬).
Regards,
Hopki

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests