Thread: Animate
View Single Post
  #1  
Old 07-28-2014, 11:06 AM
roobert roobert is offline
Member
 
Join Date: May 2014
Location: Pachuca, Hidalgo, México
Posts: 34
Send a message via Skype™ to roobert
Question 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???
Reply With Quote