GMU:Digital Puppetry Lab/Group KittenRemote: Difference between revisions

From Medien Wiki
Line 41: Line 41:


== Unity TouchOSC Receiver Code ==
== Unity TouchOSC Receiver Code ==
This is the script we used to get the connection between Unity and TouchOSC established.
In the "function update" part we move the player around. We receive the variables for this function via the function "AllMessageHandler" which you can find in the second part of the code.
We used the following Unity Scene as a template
https://github.com/heaversm/unity-osc-receiver


[[Image:OSC_Touch_Receiver_Code.jpg|800px]]
[[Image:OSC_Touch_Receiver_Code.jpg|800px]]