danieljhourigan Posted February 16, 2015 Share Posted February 16, 2015 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 Quote Link to comment Share on other sites More sharing options...
pbarua Posted February 16, 2015 Share Posted February 16, 2015 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. Quote Link to comment Share on other sites More sharing options...
danieljhourigan Posted February 17, 2015 Author Share Posted February 17, 2015 Thanks Pradeep. After trying a point() expression it seems that the simple twist doesnt work on a per Point basis so I think I will have to do it a point VOP. Cheers 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.