WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Making objects "grow" (https://forum.worldviz.com/showthread.php?t=1686)

vNicolef 10-22-2008 10:14 AM

Making objects "grow"
 
Hi there,

I'm trying to place a mole on an avatar's face so that over time you can see the mole gradually grow bigger. Would this be done with an animation or a timing function?

farshizzo 10-22-2008 05:54 PM

If the mole is a 3d object, then you can use the vizact.size action to make the object gradually bigger. For example the following code will make the mole object grow to 3x its size over 10 seconds:
Code:

mole.addAction( vizact.size([3,3,3],10,viz.TIME) )

vNicolef 11-06-2008 03:15 PM

how to kill timer
 
Thanks, that helps a lot. Is it possible to kill this action if I want it to stop prematurely?

vNicolef 11-06-2008 03:33 PM

Nevermind... I figured it out. Thanks!


All times are GMT -7. The time now is 11:24 PM.

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