Actually, I think that the best way is to use:
def udpateGunPosition():
(the code)
and then use
vizact.ontimer(0,udpateGunPosition)
in the main program.
This should do the job, right?
__________________
Thanks,
Philippe
Last edited by Philippe; 10-07-2010 at 01:12 PM.
|