本次案例:不动大小圈,整体旋转角色POSE的方法。
- 脚本实现原理:自动创建约束,K帧,删除约束。
circle -c 0 0 0 -nr 0 1 0 -sw 360 -r 1 -d 3 -ut 0 -tol 0.01 -s 8 -ch 1;objectMoveCommand;
scale -r 15 15 15 ;
select -r nurbsCircle1;
select -tgl 左脚控制器名;
doCreateParentConstraintArgList 1 { "1","0","0","0","0","0","0","0","1","","1" };
parentConstraint -mo -weight 1;
select -r nurbsCircle1;
select -tgl 右脚控制器名;
doCreateParentConstraintArgList 1 { "1","0","0","0","0","0","0","0","1","","1" };
parentConstraint -mo -weight 1;
select -r nurbsCircle1;
select -tgl 中心控制器名;
doCreateParentConstraintArgList 1 { "1","0","0","0","0","0","0","0","1","","1" };
parentConstraint -mo -weight 1;
select -r nurbsCircle1;