I have a strange problem while adding gamepad support to my game:
The right stick is used to control the camera, every control is ok but for the camera, only the yaw is working, not the pitch. Of course, all other gamepad controls and all mouse+keyboards controls are ok, I can pitch the camera with the mouse so my controller blueprint looks ok, the problem is only the camera pitch and only with gamepad.
After hours of research, I’ve found that deactivating the “Use Pawn Control Rotation” of my camera let me pitch with the controller, but if I do it, my camera pitch as long as I look down, it doesn’t stop when I look straight down or top like it does when “Use Pawn Control Rotation” is On.
Is it a bug? If not, why can I yaw the camera when “Use Pawn Control Rotation” is on and not pitch? Why can I pitch the camera with mouse even if this setting is set to On or Off?
And finaly, how can I control the camera with gamepad without having this “360° pitch” problem?