How to convert axes from arduino to relatives and lift knee/move legs up/down

Hi!

Can someone help me, guys? I am using UE4Duino plugin to receive X-axes and Z-axes from Arduino using serial port successfully. However, I have hard times by trying to convert values to relative axes in UE4 and also control person legs moving up and down (lifting knees etc). You can see the blueprint screenshot attached.

Please advise!!!

assuming that the value you currently have is in world space then all you need is the inverse transform node to convert world space to local.

Thanks for the prompt reply!

The problem is that I want to move knee up/down, lift the knee and then bring down the knee. Getting sine and cosine from Arduino. It’s not geolocation, altitude or something else.

Maybe I need [Animation Rigging Toolset][1] from Maya? To build skeleton on robot and control legs ending etc?

Please advice.