How to grab the Arduino output values?

Hi everyone,

I’m currently working on a game where I need the Arduino to control in game actors. I’m using the UE4Duino plugin and am getting 2 values, seperated by a comma, when I’m reading serial.
What I’m wondering about is how to get these 2 values seperately, so I can apply them to my actor’s x and y rotation. Right now I’m only able to get the first value for the x rotation as you can see.

You can use string split and pass it the coma as a delimiter, here’s a quick example of it in action

Thank you very much it works perfectly :slight_smile: