Getting the true camera rotation

Hello!

I was trying to apply an offset to the camera rotation but noticed that I would just turn around infinitly as it would pill up the offset. I tried subtracting the old offset from the new camera rotation to allow the player to still rotate the camera but it still create the janky effect.

I tried to following to get the “true” rotation/cframe :

local TrueCFrame = Camera.CFrame * OffsetCFrame:Inverse()

How could I get the true camera rotation?

Thanks !

1 Like

Camera.CFrame:toOrientation() for its X, Y and Z axis angles (expressed in Radians) or Camera.CFrame.Rotation for the CFrame’s rotational matrix.

Having the same issue right now, are you using DeltaTime?