View Single Post
  #2  
Old 10-05-2005, 07:19 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

I can't comment too much since I don't know exactly which calls you are making.

Writing to a file might cause some slow down. Trying appending the data to a string, and then write the string to the file at the end of your script. This might help a little.

Also, make sure you are not creating any speech actions on the fly. Speech actions take some time to load, so you definitely should pre-load them at the beginning of your script.

Also, do you have any On-The-Fly objects in your script that you are dynamically changing? If you are, try issuing the <node>.dynamic() command on it.

In general, you should try to avoid adding objects at runtime.
Reply With Quote