#2
|
|||
|
|||
viztask.schedule only once?
I think I have a similar problem. Maybe I just don't understand viztask very well, but it seems that you are unable to schedule a function more than once. Can I have someone with authority agree or disagree with this? Here is some code demonstrating what I am talking about.
Code:
def print_this(): print "this" yield viztask.waitTime( 0.1 ) vizact.onkeydown( 'p', viztask.schedule, print_this() ) In my application I am assembling/disassembling a model (also with animation paths). When I typed vizact.onkeydown( viz.KEY_DOWN, disassemble_all ), my program would only call the function the first time I pressed the key. I want the parts to disassemble one at a time rather than all at once. - bloswald Last edited by bloswald; 03-11-2010 at 03:00 PM. Reason: Adding signature and smiley :) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
speed on animation path | whj | Vizard | 8 | 11-17-2008 07:41 PM |
Animation Tracks.... | k_iwan | Vizard | 2 | 03-26-2007 05:52 PM |
Jumpy animation | Elizabeth S | Vizard | 1 | 11-08-2006 02:11 PM |
animation sequence | pkhoosh | Vizard | 2 | 01-23-2006 08:03 AM |
avatar animation problems | jrodman | Vizard | 1 | 01-18-2006 09:12 AM |