I have a custom camera rotation that rotates based on the mouse position. I do this rather than using the pawns rotation because the I position the camera to another spot and it creates weird rotations.
The issue is whenever I try to turn the camera at -135 or 135 it will bug out. I can clamp it to those values and it will stop the jitter, but I want to be able to do a complete 360.