Hi there,
I am using a freelook camera and I am trying to get the current rotation of the virtual camera so I can update some player states. What I tried to query so far:
FL_Camera.transform.rotation
FL_Camera.transform.localEulerAngles
FL_Camera.transform.eulerAngles
FL_Camera.LookAt.transform.rotation
FL_Camera.m_Heading
FL_Camera.VirtualCameraGameObject.transform.rotation
FL_Camera.localRotation
They all return static values as I rotate around the x and y axis, without any relevant current rotation information.
Can someone please help me?
Thank you in advance!
Marco