View Single Post
  #4  
Old 04-18-2014, 09:07 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
In the future, please create a new post for your questions.

The vizact.ontimer command is expecting a function object as the second argument. Instead, you are giving it the result of calling the suivi function. You should just pass the function instead of calling it:
Code:
# Call 'suivi' every frame with 'init' argument
vizact.ontimer(0, suivi, init)
Reply With Quote