philippecounter Posted October 28, 2021 Share Posted October 28, 2021 Hello everyone, I hope you are doing well under the houdini 19 sun. Today I'm trying to do something that I thought was "simple" but I can't find the solution. I try to import the animation of my @Cd in dop in order to control the "force" to be applied to my boxes. but when i look at the geometry spreadsheet in DOP, my "cd" attribute is static ... Quote Link to comment Share on other sites More sharing options...
Sepu Posted October 28, 2021 Share Posted October 28, 2021 you need to fetch the attribute into dops, you can do that with a wrangle and point function. if not just the first frame gets read. I can't really see what is that pops or rbd? if is rbd make sure that override attrib... is checked on the packed object node. Post your scene to help further Quote Link to comment Share on other sites More sharing options...
philippecounter Posted October 29, 2021 Author Share Posted October 29, 2021 Thank you @Sepu, my problem came from the "overide attribute" function (I thought that by checking this option, i will overwritte the base attributes, whereas it is the reverse, if I understand correctly, it import attributes from sop). Now i can control with pop wrangle, for exemple, if my objects are active or not but i can't use my "Cd" attribute to control, for exemple, the force scale of my pop attract... Do you have any idea how to do that ? Test_RBD.hiplc Quote Link to comment Share on other sites More sharing options...
Sepu Posted October 29, 2021 Share Posted October 29, 2021 (edited) use vex expressions and just multiply by the parameter so forcescale *= @Cd.x; You can do this pretty much with all parameters Here is a similar example Edited October 29, 2021 by Sepu Quote Link to comment Share on other sites More sharing options...
philippecounter Posted October 30, 2021 Author Share Posted October 30, 2021 Thank you so much So , to resume for people who will read this in future : I want to control a parameter in pop force (like the forcescale), with an attribute that i had animate in Sop level (in this exemple Cd). For this, in DOP you have to : - In RBD Packed object, enable "overwrite Attribute" and type in the attribute you want to use (in this exemple, Cd) - In the force (in my exemple, PopAttract), you have to enable "use VEXpressions" and type the commande, WITHOUT "@" before the parameter name, in this exemple "forcescale *= @Cd;" 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.