View Full Version : Easy Question!
Skywalkerplanet 11-14-2006, 07:43 PM Hi! I just wanted to know the melscript to make a single attribute on an objet loop forever, or even a set amount of times!
If you can help I would much appreciate that!
Justin
|
|
sparaig
11-14-2006, 08:55 PM
Hi! I just wanted to know the melscript to make a single attribute on an objet loop forever, or even a set amount of times!
If you can help I would much appreciate that!
Justin
do you mean...
for($i=0;$i<10;$i++)
for($j=0; $j<10; $j++)
for($k=0; $k<10; $k++)
{
setAttr nurbsSphere1.translateX $i;
setAttr nurbsSphere1.translateY $j;
setAttr nurbsSphere1.translateZ $k;
refresh;
};
This won't get rendered into a movie. You need to hook the attributes to your timeline in some fashion.
Skywalkerplanet
11-14-2006, 10:39 PM
for($i=0;$i<10;$i++)
for($j=0; $j<10; $j++)
for($k=0; $k<10; $k++)
{
setAttr nurbsSphere1.translateX $i;
setAttr nurbsSphere1.translateY $j;
setAttr nurbsSphere1.translateZ $k;
refresh;
};
Hmm... with k,j,& i being vaiables right? Okay, yes I think that is what I'm looking for. Thank you much.
CGTalk Moderation
11-14-2006, 10:39 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.