ScriptSpot home

Forum topic · General Scripting

Copy and past controller

By andrej · 2013-01-26

Description

In scene present two box
The $box01 is animation(position,rotation, scale)
The $box02 is static.
How I can copy controller from $box01 and past it on $box02 7

Comments (3)
andrej

Barigazy, Thank you

Barigazy, can you take me reference in MaXScript Help where explain
that string " b2[3][i].track "

Branko Živković

like this


b1 = $Box001
b2 = $Box002
--instance controllers
for i = 1 to 3 do b2[3][i].track = b1[3][i].track
--copy controllers
for i = 1 to 3 do b2[3][i].track = copy b1[3][i].track