I’ve found a really thorough answer to this issue already… for Blueprints. But I’ve never worked with blueprints whatsoever, and I have no idea how to translate that to C++. The UCameraComponent class doesn’t seem to have any way to change these values.
The blueprint answer: https://answers.unrealengine.com/questions/39210/disable-controller-90º-to-270º-limit.html