Jump to content

Sop Animate Attribute in DOP


Recommended Posts

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 ...

Desktop 2021.10.28 - 10.13.20.02.gif

Desktop 2021.10.28 - 10.13.05.01.gif

Link to comment
Share on other sites

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 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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;"

Capture d’écran 2021-10-30 100459.jpg

Capture d’écran 2021-10-30 100553.jpg

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...