How to detect inactivity and act after that

Q&A about the latest versions
Post Reply
User avatar
anahum
Posts: 172
Joined: Tue Apr 21, 2009 4:43 am
Location: Chile
Contact:

Is it possible to detect that the virtual tour has been inactive for a given amount of time (for example 2 minutes of inactivity) and then when that happens to re-launch the start panorama? Thanks in advance.
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

You asked:
"detect that the virtual tour has been inactive for a given amount of time (for example 2 minutes of inactivity) and then when that happens to re-launch the start panorama"
Yes

Using Pano2vr 5.0x:

HTML5 output
Select option Auto Rotation
[x] Autorotation
Pan Speed: (suggested very slow speed) [0.07°/Frame]
Delay: Your suggestion 2 minutes delay [120.0s] seconds

Which means... after 120 seconds of no mouse or keyboard activity engage auto rotate at a very slow speed of 7° /Frame


Using Pano2vr 4.5.3:

HTML5
SETTINGS tab
Auto Rotate
[x] Enable auto rotation
Pan Speed: (suggested very slow speed) [0.07°/Frame]
Delay: Your suggestion 2 minutes delay [120.0s] seconds

Which means... after 120 seconds of no mouse or keyboard activity engage auto rotate at a very slow speed of 7° /Frame

Hope this helps
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
User avatar
anahum
Posts: 172
Joined: Tue Apr 21, 2009 4:43 am
Location: Chile
Contact:

360Texas wrote:You asked:
"detect that the virtual tour has been inactive for a given amount of time (for example 2 minutes of inactivity) and then when that happens to re-launch the start panorama"
Yes

Using Pano2vr 5.0x:

HTML5 output
Select option Auto Rotation
[x] Autorotation
Pan Speed: (suggested very slow speed) [0.07°/Frame]
Delay: Your suggestion 2 minutes delay [120.0s] seconds

Which means... after 120 seconds of no mouse or keyboard activity engage auto rotate at a very slow speed of 7° /Frame


Using Pano2vr 4.5.3:

HTML5
SETTINGS tab
Auto Rotate
[x] Enable auto rotation
Pan Speed: (suggested very slow speed) [0.07°/Frame]
Delay: Your suggestion 2 minutes delay [120.0s] seconds

Which means... after 120 seconds of no mouse or keyboard activity engage auto rotate at a very slow speed of 7° /Frame

Hope this helps

Thanks Dave, but your suggestion makes just the rotation to start after a given wait time (in the same pano within a tour)....but what I need to do is to restart the tour after the 120 seconds of inactivity (or even better, to be able to "trigger click" a set of actions after the 120 seconds of no activity).

Is that possible?
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Use a timer,
You can then set an action , deactivate to open next panorama.
Play with the toggle action or add an activate action to get it to reset
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply