View Single Post
  #1  
Old 07-14-2016, 12:37 PM
tokola tokola is offline
Member
 
Join Date: Nov 2012
Posts: 67
Pause and resume simulation without user input

Hi Jeff (or anyone else),

I'm trying to pause and resume the simulation automatically, based on time delay. However, since the timers stop working during pause(), I don't know how this can be accomplished. Neither viztask or any other timer-based solution works. How can I call play() at a predefined time after pause() has been called?

What I want to do is resume the simulation a) after a video finishes playing and b) after vizhtml receives input from clients. In the latter case there is a workaround, to receive the trigger for play() from one of the clients, although by being network-dependent I run the risk of blocking playback in case there's a network glitch.

Any help will be greatly appreciated!
Reply With Quote