Created
October 5, 2017 13:46
-
-
Save deathponta/1d9374f12eaed4e9544a93c4f79def75 to your computer and use it in GitHub Desktop.
すべての子のうち、ボーンジオメトリのみを取得する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
選択以下のすべての子からBoneオブジェクトのみを取得する | |
*/ | |
childrens = #() -- 子を入れる箱を用意 | |
fn GetChild _p =( | |
for c in _p.children do( | |
if (ClassOf c) == BoneGeometory do( | |
Append childrens c | |
) | |
GetChild c | |
) | |
) | |
GetChild $ -- 初回呼び出し | |
Select childrens -- 上で集めたオブジェクトをすべて選択 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment