Hello,
The MPU6050 includes gyroscope and accelerometer as you say so it is possible to get that information.
In general, IMU sensors require the use of prediction algorithms such as Kalman's filter to obtain the angle position value.
However, the MPU series has the ability to handle this process in hardware, so you can get angle position value more accurately and easily.
Of course, in order to analyze the motion, it is important to know not only the position but also the velocity and acceleration.
I understand that the value of gyroscope or accelerometer is necessary for this.
I've been working on the MPU series in ARDUnity, and I've noticed that I use the most useful angle position value.
So now only the angle position values are available in ARDUnity.
I am planning an example that can take advantage of gyroscope or accelerometer values, but there is no plan yet.
You can see Arduino and Unity sources for MPUSeries (MPUSeries.cpp and MPUSeries.cs), so if you want, you can make that information available from Unity.
Instructions on how to create a Custom Controller can be found at this link. (
See link)