- Home /
Question by
MauDisagio · Jul 20, 2017 at 01:44 PM ·
unity 5mappingarduino
Map some Values taken from Serial Port
Hello World!
We're a team working on a project that includes Arduino and Unity.
Unity receives some informations through the serial port and we want that informations to control the movement along the xAxis of a gameObject.
The fact is that the values let the gameObject exit the screen, we need to shorten the range.
We need the values from the serial port (from n, to m for example) to be remapped into the xAxis as xMin and xMax.
Thanks for your attention.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612130725im_/https://answers.unity.com/themes/thub/images/avi.jpg)