Camera.rotation.y flipping

Is your use case related to the following topic?