1
edit
Jonasjuelch (talk | contribs) |
|||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 7: | Line 7: | ||
== Group Work By == | == Group Work By == | ||
<li>Florian Froger (Unity & TouchOSC App Implementation) | <li>Florian Froger (Unity & TouchOSC App Implementation) | ||
<li>Jonas Jülch (Unity & TouchOSC App Implementation) | <li>Jonas Jülch (Unity & TouchOSC App Implementation) | ||
| Line 36: | Line 35: | ||
Effectively we used the "Directional Pad" to move our Kitten on the x and z axis and the blue button to jump. | Effectively we used the "Directional Pad" to move our Kitten on the x and z axis and the blue button to jump. | ||
TouchOSC is communicating | TouchOSC is communicating directly with Unity via OSC. | ||
[[Image:OSC_APP.png|600px]] | [[Image:OSC_APP.png|600px]] | ||
== 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 and it's included scripts as a template | |||
https://github.com/heaversm/unity-osc-receiver | |||
[[Image:OSC_Touch_Receiver_Code.jpg|800px]] | [[Image:OSC_Touch_Receiver_Code.jpg|800px]] | ||
== Video Doc == | |||
[https://www.youtube.com/embed/RNqw7ycQNXA | |||
] | |||
edit