Proximity Capture for each object

   1333   2   1
User Avatar
Member
4 posts
Joined: Aug. 2015
Offline
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
Staff
3455 posts
Joined: July 2005
Offline
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: Aug. 2015
Offline
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