WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #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
  #2  
Old 07-28-2014, 09:18 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Take a look at the vizact.sizeTo command.
Reply With Quote
  #3  
Old 07-29-2014, 07:16 AM
roobert roobert is offline
Member
 
Join Date: May 2014
Location: Pachuca, Hidalgo, México
Posts: 34
Send a message via Skype™ to roobert
Hi Jeff.

Thanks for your help, it was exactly what I wanted
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
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


All times are GMT -7. The time now is 09:54 AM.


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