Hotspot images don't refresh until I hover

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
tarsz
Posts: 16
Joined: Tue Oct 15, 2019 8:28 pm

Mon Nov 14, 2022 4:10 pm

Hi!
I have a problem:
I have 2 hotspot images. I set, in the skin, trough visibility logic block, so that when a variable is equal to a user data, one should be hidden, and when it's not equal, the other should be hidden. (the default visibility value is true).
The variable is set when node changed.
When the variable isn't changed everything works fine. But when variable is changed, I have to hover a hotspot until the right images are shown.
I tried changing the variable "Before node change", but then it isn't working at all.
Is there a way to force a refresh after variables are set so that the right hotspot images are shown? Or any other workaround?

I have a huge project, that's why I'm not using the "custom node image" property.

Thanks in advance!
User avatar
Tony
Posts: 1201
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Thu Nov 17, 2022 10:17 am

Hi,

What sort of user data do you want the hotspot to react to?

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
tarsz
Posts: 16
Joined: Tue Oct 15, 2019 8:28 pm

Mon Nov 21, 2022 2:04 pm

Hi!
It's solved, by using an action on ht_node, Tiles Ready, Set Element Position 0/0, and that refreshes the hotspots.
Post Reply