Slider controlling attribute not working

   3218   2   0
User Avatar
Member
39 posts
Joined: Nov. 2014
Offline
Hi everyone

I've got a slight issue and unsure where i'm going wrong.

I'm right clicking a null and going into “edit parameter interface” to create a float.
(can be seen in the image) i'm setting the name to “trans” (an attribute i created, also in the image)
when looking at the geometry spreadsheet the value of “trans” does not change. Trans is a detail attribute.
I'm using trans to control an objects transform. I know i can link the slider to the transform node but for the purposes i need it for, it needs to be an attribute.

the null controlling the attribute is at the bottom of the network.

Thanks!
Edited by wjm - Oct. 22, 2016 09:09:45

Attachments:
attribute slider.png (160.8 KB)

User Avatar
Member
271 posts
Joined: March 2012
Offline
You have nothing that tells the detail attribute that it should take the value you provided with the slider. Currently they are two unrelated things: the detail attribute, and a slider control.

Try putting down a detail wrangle node and using it to set the value of your attribute to that of the slider
f@trans = ch("../Null/trans")
If the Null is on the same levels as the wrangle node.
User Avatar
Member
182 posts
Joined: April 2009
Offline
You can also create a channel reference with an expression.
Right click on your trans / birth slider name and select “Copy Parameter”, then right click on the value and select “Paste Copied Relative Reference” or “Paste Copied Reference”.
  • Quick Links