Thread: Move Objects
View Single Post
  #8  
Old 01-19-2005, 07:38 AM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
Hi,
Is it correct if I conceptualize the director-function similar to starting a thread in Java?
Johannes

Quote:
Originally posted by farshizzo
Hi,

Are you executing your moveIt2 function as a director function? If not then your function will stall the graphics frame until it is finished. To execute your code as a director function do the following:
Code:
viz.director(moveIt2)
This will execute your function asynchronously. Whenever you call the sleep command outside of a director function or thread you are effectively causing the graphics loop to sleep also.
Reply With Quote