string $sel[] = `ls -sl`;
for ($tmp in $sel) {
aimConstraint -offset 0 0 0 -weight 1 -aimVector 0 1 0 -upVector 0 1 0 -worldUpType "vector" -worldUpVector 0 1 0 Locator $tmp;
};
items in italics can be edited to suit requirement. "Locator" = name of target to orient towards.
No comments:
Post a Comment