Hello,
I have made a simple 2D Pong game using Unity5. I have an instrumentation setup with a dsPIC33F micro-controller where multiple IMU’s are plugged which sends orientation information to the PC at 50Hz. Now, I am trying to control the paddle movement using an IMU which can provide positional and orientation of the device with respect to a global reference frame.
Tasks - Reading the serial port data (I have changed the player setting to .Net from subnet) and move the paddle up and with with certain speed that is in accordance with IMU movement.
Any help in this regard would make the process easier (Sample code or a logical setup design).