Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// スキニングされたメッシュ(transform)を選択して実行すると、バインドジョイントの選択セットを作成する
proc CreateJointSetFromBindSkin(){
string $shape[] = `listRelatives -s`; // shape 取得
string $skinC[] = `listConnections -type skinCluster $shape[0]`; // skinCluster 取得
string $bindJnts[] = `listConnections -type joint $skinC[0]`; // joint 取得
sets -n "Set_bindJnts" $bindJnts; // セット作成
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.