I am inclined to think it's the controller code. If the autorotation is stopped via the controller, hovering should not start it again. Even though, as I think it should with this code, clicking the button in the controller should set the variable to 'false' and the hovering over the chevron should only toggle autorotate if the variable is 'true'. If I manually stop autorotate via the toggle-button in the controller and then again hover over the chevron it RESUMES autorotation which it should not do. Leaving (mouse leave) the chevron resumes autorotate. Hovering over the chevron (mouse enter) stops the autorotate, I can see the button in the controller changing too. On first sight, this works: If I open the project in localhost, autorotate starts and the variable is true. To ht_node I added 'Mouse enter>Toggle autorotate' and 'Mouse leave>Toggle autorotate', both with filter 'if rotate_var=true' This is added to the Autorotate folder actions in the Controller folder. Set variable value to 'true' if the value is 'false' Set variable value to 'false' if the value is 'true' I could not find a 'toggle variable' action, so I split it up in (in that exact order, if it matters):
I started by creating a variable 'rotate_var' that can be true or false, and gave it the default of true.
I've emailed you a Dropbox link to a zip with a 2-image project with the skin I'm editing. I've tried to follow your lead, and I'm still having an issue I can't pinpoint. And I can't find anywhere where I can customise it and make it change nodes.Ĭan this be done by activating autorotate in the output options, and then somehow NOT have it autorotate on load, but still use those settings when the menu toggle button is clicked? However, using the toggle autorotate in the menu just starts a default rotation, too fast for my liking and without node change. So I turned it off in the output options and reverted back the toggles on the hotspots. In the end I chose to skip autorotate on load, but just have it present in the menu as option. When autorotate was still off, mousing over a hotspot could at times turn it back on, what I didn't want. But this lead to some inconsistencies at some points. Then I setup the hotspots to toggle autorotate on mouse-over and -out. I can configure speed (I liked it slower) and also automatic change to the next node after x seconds. At first I thought it to be nice to use autorotate, from the output options.