WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   run multiple actions simultaneously (https://forum.worldviz.com/showthread.php?t=2013)

durf 05-08-2009 11:39 AM

run multiple actions simultaneously
 
Hello,

I cannot seem to figure out how to run actions simultaneously. Everything I try does one before another. Is there a way to make two things happen at once.

resize = vizact.size(.15,.15,.15,30,viz.time)
move = vizact.goto(0,14,-20,2)

any way to make these happen at the same time?

Thanks

farshizzo 05-08-2009 12:17 PM

Have a look at the documentation for node.addAction and node.runAction. Both these commands have an optional pool parameter. Adding actions to different pools allows you to run them simultaneously.

Another way to run actions in parallel is to use the vizact.parallel command, also in the docs.


All times are GMT -7. The time now is 08:57 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC