Hi,
I am trying to get the camera’s rotation to rotate correctly. When its on the rear camera its ok but when i switch the the front camera the image is rotated correctly but needs flipping. I have tried to flip using the scale(-1,-1,-1) but that just makes the image upside down, but it will rotate correctly with the device rotates.
My code uses a rawImage for displaying the image
This does set the rotation correctly on the rear camera but not on the front camera its flipped so left is right so when you rotate it will put the image upside down.
backgroundtex.rectTransform.rotation = baseRotation * Quaternion.AngleAxis(webcamTexture.videoRotationAngle, Vector3.back);
Any ideas on how to fix this as the webcamTexture.videoVerticallyMirrored returns false.
Thanks in advance