Polygon Hotspot Fade in/out to Pan position

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
azvin
Posts: 2
Joined: Fri Nov 26, 2021 5:20 pm

Fri Nov 26, 2021 6:46 pm

Hi:

Is there a way to make a polygon hotspot fade in and out or change its view mode on a specific Pan position when moving a panorama?
I've done this with hotspots using logic blocks in the alpha applying 2 pan triggers, but i can't figure out how to do it on polygon hotspots.
Can anyone give me a hand?

Thank you!
User avatar
Tony
Posts: 1099
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Sat Nov 27, 2021 8:34 am

Hi Azin,

I'm actually using this on a project I'm building at the moment. At a certain pan point, the active polygon is disabled and then later re-enabled.

I'm using a timer with the Actions: Source = Active* | Action = Change Polygon Mode | Parameters=0 (Mode: Always Hidden) and the Active trigger uses modifiers based upon the pan degrees.

Basically, I'm using the polygon with a mouse enter play audio, when the audio finishes or is stopped by the user I don't want the mouse position to retrigger the audio. So the stop action triggers the timer, and the pan position tells the timer to hide the polygon. So even if the mouse is over the polygon it doesn't replay. Other actions within the script reset the polygon.

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/
azvin
Posts: 2
Joined: Fri Nov 26, 2021 5:20 pm

Mon Nov 29, 2021 4:14 pm

Thank you so much Tony!. I was struggling with this for days and now is working. I also tried with timers but i wasn't doing it right.
Post Reply