Hi,
I noticed that if I call Vizard functions that have a visual effect in a loop, the commands wouldn't be run before the encapsulating function returns (even with delays in between) :
Code:
def callVizFunctionsInALoop():
for i in range(0, 10):
moveAvatar(i)
takeSnapshot()
#viz.waittime(someDelay) #Won't help
#time.sleep(someDelay) #Won't help
Here, the snapshots will be taken as if the moveAvatar() function hasn't been run.
Is there any Vizard command that will get around this problem?
Thanks
Omid