Shalinar Posted June 10, 2016 Share Posted June 10, 2016 (edited) Hi all, I'm trying to drive the Active value of my RBD Packed objects by an "activator" object, just transferring color and using that color to set the active value. I've followed a couple of the threads here that show how to set this up (such as here) but my version is not working. I've exhausted my newbie knowledge of Houdini. What am I missing here? Thanks, ~Chris EDIT: just a little more info I forgot to include. In the spreadsheet, I can see that the Active attr on frame 1 is set to 1, because the RBD Packed Object node is set to Active Objects. Then when the simulation starts, the Active attr changes to 0. But it doesn't update with the color transfer. That's the part that I'm not sure why... active_transfer.hipnc Edited June 10, 2016 by Shalinar add details Quote Link to comment Share on other sites More sharing options...
anim Posted June 10, 2016 Share Posted June 10, 2016 (edited) - the value of red color you are transferring is 0.9, which when stored directly to integer active attribute get's truncated to 0, so your pieces will never activate - since you are using @ptnum the geometry you are sampling the value from has to match the simulation geometry, right now you are simming packed prims, but sampling color from original unpacked geo, which will give you unexpected results have a look at the fixed file: active_transferfix.hipnc - alternatively you can skip coloring and geowrangling part and directly change active attrib on the geometry that flows to RBD Packed DOP, then check Override Attributes From Sop and enter: active in there so that it automatically update active attribute from source geo active_transferfix_alt.hipnc Edited June 10, 2016 by anim Quote Link to comment Share on other sites More sharing options...
Shalinar Posted June 10, 2016 Author Share Posted June 10, 2016 Ah! Thank you so much. Still getting the hang of all of this, but slowly it's all starting to come together for me Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.