WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-08-2009, 11:39 AM
durf durf is offline
Member
 
Join Date: Feb 2009
Posts: 61
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
Reply With Quote
  #2  
Old 05-08-2009, 12:17 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple objects durf Vizard 1 04-10-2009 01:42 PM
multiple shadows using projector theuberk Vizard 13 02-24-2009 02:56 AM
How to make avatar's eyes to blink when speaking michelcm3 Vizard 12 01-15-2008 08:48 AM
Speech during actions zoltantoth Vizard 2 05-02-2007 03:11 PM
Weird lagging/choppiness when avatars perform actions vjonshih Vizard 8 11-30-2004 04:08 PM


All times are GMT -7. The time now is 07:30 AM.


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