The first time I tried adding the “circlePos” to the radius of the circle it worked. Then I disconnected the connection and did something I can’t remember what, but I haven’t been able to get the connection to work again. This is my very first go at TouchDesigner so I’m extremely new to all of this. Would appreciate any help so much. Because i’m a new user here, it wont let me link the TOE
You cannot have only op(‘opName’) value, you need a parameter, as op(‘opName’).par.sx for example.
How do you make the connection? Writing the value? click and drag chop value?
Be more specific, please.
Hello @e-dawg and welcome to the forum!
What’s happening there is that you are pointing at the CHOP operator called circlepos
, without specifying any particular channel, and basically the circle1
SOP is telling you, “ok I am looking at that operator, but what channel?”
try to type in op('circlepos')['chan1']
or op('circlepos')[0]
.
Both expressions work, but they have slightly different logic.
The first expression tells the circle SOP to look at the operator circlepos
, and get the value from the channel called chan1
.
The second expression does the same thing but tells your SOP operator to grab the first channel (with index 0) inside the CHOP operator circlepos
. If you had more channels in that CHOP operator, the second channel will have index 1, the third will have index 2 and so on.
I hope this helps!
This was very helpful, as I was having the same issue. Wanted to say thanks for the solution!