My gyroscope isn’t working properly, so i want to re-write Gyroscope.attitude based on local axis of an object. The object has definetely right axis, so if i will use it, gyroscope should work properly.
Is it possible and how? I am trying something like
Gyroscope.attitude = GetComponent<Transform> ().TransformDirection;
or
Gyroscope.attitude = GetComponent<Transform> ().InverseTransformDirection;
Yet not sure. Is it possible that way?