Proximity Capture for each object

   2097   2   1
User Avatar
Member
4 posts
Joined: 8月 2015
オフライン
Hello, I'm wondering how to go about this…

I have a circular copy of boxes (merged) that I want captured from bones I have generated from a python script (script just makes bones for each copy of the object).



I was thinking I could do a for each piece and do a capture proximity for each object and then after the loop, do a bone deform. But the proximity capture is capturing the other boxes as well. I want 1 bone to only capture 1 box.

Not sure if i'm going about this correctly. The model is procedurally created and the number of boxes will change (causing me to run my script again, that will delete old bones and create new ones).

any help is appreciated, thanks!
User Avatar
スタッフ
3465 posts
Joined: 7月 2005
オフライン
have a look at this:
I've captured using the the detail attribute ‘iteration’ from the meta node -> ../../chain_bone`detail(“../meta”, “iteration”, 0)`
and be sure to Stash or write the captured geo to disk

Attachments:
capture_for_each.hip (179.7 KB)

Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
4 posts
Joined: 8月 2015
オフライン
goldfarb
have a look at this:
I've captured using the the detail attribute ‘iteration’ from the meta node -> ../../chain_bone`detail(“../meta”, “iteration”, 0)`
and be sure to Stash or write the captured geo to disk

Ahh thanks so much Michael, I was missing that Stash. Sorry it took me so long to get back to this, I was a GDC.
  • Quick Links