Jump to content

Twist particles by custom attribute


Recommended Posts

I am attempting to run a twist over a specific group of particles.

 

 

I create an object to define the area of Interest then use an Attribute transfer to transfer a float value that I want to call in the Twist sop. 

 

But when I reference the $TWIST attribute I have created in the strength amount, it throws an undefined variable error. Is it not possible to use Custom Variables in the twist sop?

 

The effect I am trying to achieve is a weighted deformation with controllable falloff, so that there is not a hard line between the deformed and undeformed particles. I'm sure its probably better to do this in a VOPSOP...

 

simple example attached.  

 

Thanks guys

twist_by_attribute.hip

Link to comment
Share on other sites

But when I reference the $TWIST attribute I have created in the strength amount, it throws an undefined variable error. Is it not possible to use Custom Variables in the twist sop?

 

Local variables are not supported every where. You need to use point() or prim() or detail() expression functions based on your attribute type.

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