387
edits
(→Step1) |
(→Step4) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
The following script I will provide contains the whole setup you need to recieve data from '''The Captury''' and constantly updating it in '''Unity''' | The following script I will provide contains the whole setup you need to recieve data from '''The Captury''' and constantly updating it in '''Unity''' | ||
<br> | <br> | ||
<br> | |||
Here is the File: [[Media:osc_script.zip|OSC_Reciever.js]] | |||
==IMPORTANT== | ==IMPORTANT== | ||
Be aware that the '''OSC''' and the '''UDPPacketIO''' Scripts are in the Folder called '''Plugin'''<br>Also be sure to not have the Scripts twice in the Unity '''Assets''' Folder.<br><br> | Be aware that the '''OSC''' and the '''UDPPacketIO''' Scripts are in the Folder called '''Plugin'''<br>Also be sure to not have the Scripts twice in the Unity '''Assets''' Folder.<br><br> | ||
Line 25: | Line 29: | ||
<br> | <br> | ||
<br> | <br> | ||
The '''controller''' variable isn't important for us. Don't confound it with the gameReciever tab. | The '''controller''' variable isn't important for us. Don't confound it with the gameReciever tab in your editor. | ||
<br> | <br> | ||
<br> | <br> | ||
Line 52: | Line 56: | ||
===Step4=== | ===Step4=== | ||
This | This are our Update Functions: | ||
<br> | <br> | ||
All values which will be parsed from Step5 will be constantly updated here. | All values which will be parsed from Step5 will be constantly updated here. |
edits