#1
|
|||
|
|||
Animate
I have a sphere and I would like to grow little by little. It is my code, but the sphere appears with the final size.
es=viz.add('model/sphere.dae',pos=[0,0,0],scale=[0.5,0.5,0.5]) es.collideSphere() for i in range (10): es.setScale(i,i,i) time.sleep(1) How do I grow so slowly??? |
#2
|
|||
|
|||
Take a look at the vizact.sizeTo command.
|
#3
|
|||
|
|||
Hi Jeff.
Thanks for your help, it was exactly what I wanted |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
animate an object using 5dt data glove 5 ultra | agrima | Vizard | 3 | 07-01-2014 11:17 AM |
Animate position with viztracker | rogerlew | Vizard | 2 | 01-22-2013 08:53 AM |
Animate character in WorldViz and record animation? | Josh | Vizard | 4 | 04-13-2010 10:07 AM |
animate cal3d bones | krimble | Vizard | 6 | 05-07-2008 03:07 PM |
How to make avatar's eyes to blink when speaking | michelcm3 | Vizard | 12 | 01-15-2008 08:48 AM |