Jump to content

Driving a parameter in Popnet by an attribute?


fiverob

Recommended Posts

Hey all, 

n00b question here. 

Can someone explain the difference between the variable contexts in SOPs and DOPs/POPs?

I can easily drive a parameter in SOPs by simply dropping in the expression $CR. But in DOPs/POPs it seems to require a different syntax.

For example, see attached. I'm just trying to drive the amplitude of the popforce by the color value.

Any help?
Thanks legends.

Contexts.hip

Link to comment
Share on other sites

Ayyyyyy

Worked it out.

Because I was only doing an impulse activation on the first frame and wasn't generating any further particles, they were being given the data I wanted, but only at birth. Hence why the moving object in SOPs wasn't influencing the CD of the already born particles.

Found my way around it using a sopsolver with an attribute transfer inside it along with object merging in my torus to get the CD from.

Aww yiss. I love these little breakthroughs. 

 

Hip file attached for anyone that runs in to the same problem.

Contexts_03.hip

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