Rajawali rotating camera with Sensor.TYPE_ROTATION_VECTOR strange behavior
问题 I'm creating a Panorama view which allows the user to look around in a spherical image by rotating his smartphone. I used Rajawali's Skybox for this together with the TYPE_ROTATION_VECTOR sensor. I got it working, but only when I look forward (it's literally based on my rotation (yaw)) This is the behavior: looking forward: yaw = yaw, pitch = pitch and roll = roll looking to the left: yaw = yaw, pitch = roll and roll = pitch looking backwards: yaw = yaw, pitch = pitch * -1 and roll = roll *