Enhanced autorotation function
Posted: Sat Jun 03, 2017 12:38 pm
Hello, meanwhile I´m spending a lot of time to solve this problem.
I start my panos with rotation. When the mouse enters an information hotspot rotation stops, when leaving the hotspot it starts again (so it´s not too confusing for some people while reading an information within the pano).
Additionally I like to add a "masterswitch" in a submenu to stop autorotation completely (and activate it, if you wish).
Of course to add "stop autorotation" or toggle doesn´t help. Just after the next leaving an information hotspot the autorotation is triggered again.
First approach was to show/hide different information hotspot points by clicking the "masterswitch": one with "mouse enters: rotation stop + mouse leave: rotation starts" and another copy of it without any rotation command. But hiding a hotspot button and showing a copy of it with other actions doesn´t work. (Why?) Only the first on stays active.
There must be a clever solution working with variables. However I can´t set the rotationspeed to a variable and add an action to masterswitch to set variable to 0 or the desired rotationspeed.
Thanks for any ideas.
I start my panos with rotation. When the mouse enters an information hotspot rotation stops, when leaving the hotspot it starts again (so it´s not too confusing for some people while reading an information within the pano).
Additionally I like to add a "masterswitch" in a submenu to stop autorotation completely (and activate it, if you wish).
Of course to add "stop autorotation" or toggle doesn´t help. Just after the next leaving an information hotspot the autorotation is triggered again.
First approach was to show/hide different information hotspot points by clicking the "masterswitch": one with "mouse enters: rotation stop + mouse leave: rotation starts" and another copy of it without any rotation command. But hiding a hotspot button and showing a copy of it with other actions doesn´t work. (Why?) Only the first on stays active.
There must be a clever solution working with variables. However I can´t set the rotationspeed to a variable and add an action to masterswitch to set variable to 0 or the desired rotationspeed.
Thanks for any ideas.