Setting the visibility of an object and its reflection for the camera.

Hello. I ask for your advice in implementing the idea. First-person game, there is a character model. How to make sure that when you rotate the camera you can’t see the character’s legs in a straight line, but at the same time there is a full reflection of the character in the surrounding objects?