I am trying to write a Java Script that can receive UDP packets from MATLAB/ any other program, and use them to control a character.
Can any one give me a simple Java Script where a ball/any object in Unity is controlled by received UDP packets?, So I can learn from example, how to open a UDP connection, setup the communication and control position/rotation of ball/any object.
Many thanks for the help.