// Update is called once per frame void Update() { if (rtClient == null) { rtClient = RTClient.GetInstance(); } var channels = rtClient.GetAnalogChannels(new List <string>() { ChannelX, ChannelY, ChannelZ, ChannelW }); if (channels != null) { for (int i = 0; i < channels[0].Values.Length; i++) { transform.rotation = new Quaternion(channels[0].Values[i], channels[1].Values[i], channels[2].Values[i], channels[3].Values[i]); } } }