Hey,
I have an problem when I use Gyro attitude. When I move my telephone and then hold it still the screen is shaking for 3/4 seconds and then stop it.
How can I fix this??
Code:
if (Input.gyro.enabled)
{
transform.rotation = Quaternion.Euler(90.0f, 0.0f, 0.0f) * new Quaternion(Input.gyro.attitude.x, Input.gyro.attitude.y, -Input.gyro.attitude.z, -Input.gyro.attitude.w);
}
Video: Video of the problem
The big shake is me and the little is my problem