Camera clipping through walls in FPS?

How can i create camera collision in FPS shooter. I use rotating controller yaw and pitch

If the camera is inside the collision capsule, it should never clip into walls. Try making the collision capsule bigger. However, this may screw up other stuff.

It helps if i create radius too big (100). Can i fix it using camera boom? I am trying to fix it, but camera going inside mesh instead of stay outside.

well a camera boom will move your camera around if you run into something. It will fix the problem, but you said this was a FPS, which don’t typically do things like that. Your choice.

I fix it. My camera was attached to camera boom, and camera boom was rotating. But camera was on big distance of the center of rotation and rotating camera boom, gives moving and rotating camera. I move camera to center of rotation and now it’s olny rotating. And it doesn’t enter collisions

If it’s fixed please mark it as correct to close the question.