//Ubisense座標をUnityの座標に変換 UbisenseData ConvertUbisenseToUnity(UbisenseData data) { float x = data.x; float y = data.y; float z = data.z; data.x = 17.75f - y; data.y = z; data.z = x; return data; }
//Ubisenseの座標をセット void SetPosition(UbisenseData data) { data = ConvertUbisenseToUnity(data); //座標変換 _cubeTransform.position = new Vector3(data.x, data.y, data.z); }