Read out where camera currently looks at

Hi,
is it possible to read out the rotation from the Free Look Camera, meaning where it currently looks at in an UpdateLoop?

Thanks for helping out!

If the vcam is controlling the main Camera, then you can just use the main camera’s transform. Otherwise, you can use freeLook.State.CorrectedPosition and freeLook.State.CorrectedOrientation.

Make sure to do this late in the frame, after the CM Brain’s LateUpdate, or you will get stale values from the previous frame.

1 Like