I am using a floating pawn here and the rotation works fine but is highly prone to flipping over. I know the problem is the pitch, I just have no idea how to successfully clamp it between -80 and 80 degrees. Any attempts I have made to clamp it are completely overwritten when hooked to Mouse Y (which the camera won’t rotate without.)
You should be able to do this easily enough by only adding the relative rotation if the end result ends up in your desired range (-80 to 80 in this case). Here’s a screenshot of my implementation for reference:
Since we don’t care about clamping yaw, we always apply this rotation, and we just selectively apply changes to the pitch. It’s also worth noting that I have made the Input Action value type an Axis2D and mapped it to Mouse XY 2D-Axis in the IMC so that I could pull through the Mouse X and Y slightly more elegantly with just the single node, but this isn’t strictly necessary.