hello.
I am trying to receive and interpret the value with Touch Designer through UDP communication.
I am not an English speaker so I used a translator. Thank you for your understanding.
A signal was received using ‘udpin’ of ‘dat’, and one ‘index’ was received using ‘select’.
After that, I used ‘convert’ to separate the spaces. There are a total of 4 accepted data signals. If [a,b,c,d], when a is 1, I want to receive the signal from b, and when b is 1, I want to receive the signal from c, d.
Ultimately, it is very difficult to move ‘circle’ or ‘rectangle’ by using ‘dat to’ for c and d using if or case type grammar…
I also looked at python-related materials written by matthewragan. Although if statements and def functions are used there, they are not of much help to me because the final result is output as ‘print’. This is because I want to set a condition in python, change the result to ‘dat to’, and then apply it to the x, y position values of ‘circle’ etc. as the signal of ‘chop’. It doesn’t have to be this way, and it doesn’t have to be Python. I would like to implement what I described. So, I’d like to get some helpful information… I need a lot of help because the language I use (Korean) is quite lacking in resources. thank you