View Single Post
  #4  
Old 10-08-2014, 07:12 AM
Frank Verberne Frank Verberne is offline
Member
 
Join Date: Mar 2008
Location: Netherlands
Posts: 148
Use vizact.ontimer(). For more information, see http://docs.worldviz.com/vizard/comm...ct/ontimer.htm. An example use of vizact.ontimer:
Code:
import vizact

def dostuff():
    print viz.getFrameNumber()

vizact.ontimer(1,dostuff)
Reply With Quote