random 随机位移所选择的物体Y轴位移.txt

//random 
string $sel[]=`ls-sl`;
for($i=0;$i<size($sel);$i++)
{
    float$y=rand(0,1);
    setAttr ($sel[$i]+".translateY") $y;
}
//对所中的物体 随机选中一些物体




原文地址:https://www.cnblogs.com/xe2011/p/2535579.html