Is it any way to rotate the camera?

I’ve created a project based on FirstPersonTemplate.
I need to turn the character by 90 degrees on the X axis (simulation of falling on one side).

To rotate the character I use the following algorithm:
f4beca540f48454db2e7b2e12cfa1649.png

As a result, the object is rotated, but the camera angle does not change.
Is it any way to rotate the camera too?