View Single Post
# 3 28-10-2006 , 10:25 AM
Falott's Avatar
Registered User
Join Date: Jan 2005
Location: vienna
Posts: 1,095
thx buddy!! I asked a friend of mine who has no idea about mel but is a c++ programmer. he threw this together for me - after 10 minutes only. it´s working too.

thx for your effort. I´ll study both codes. life is hard without mel...





for ($counter = 1; $counter <= 200; ++$counter)
{
$object_a = "boid_" + $counter;
eval select -r $object_a;


$object_b = "mackerel_anim" + $counter;
eval select -add $object_b;

pointConstraint -offset 0 0 0 -weight 1;

orientConstraint -offset 0 0 0 -weight 1;


}


everything starts and ends in the right place at the right time.

Last edited by Falott; 28-10-2006 at 10:29 AM.