Why this script does not work?
for i in selection do
(
if classOf i == BoneGeometry then
(
b = box length:i.height \
width:i.length \
height:i.width \
pivot:[-i.length/2, 0, i.width/2]
b.transform = i.transform
b.parent = i
b.scale.controller = scale_script()
b.scale.controller.script = "$.parent.stretchTM.scale"
--above is the line with problem
)
)
What am I doing wrong?
And thanks for any help.
lutteral · 2010-06-02
Anubis · 2010-05-28