Leaning, pick at corner mec

Hello

I’m trying to achieve a leaning, corner pick feature like in many horror games, Outalst, Alien Isolation, Amnesia.

My game is a FPS, with a mesh. I’ve already done one Left and Right leaning with timeline but I’d like to do something different.

I’d like the same kind of feature than Alien Isolation, I mean:

You press one inupt, it lock the player space movement, then you’re able to rotate 360°, pitch amplitude is decreased, and then you can press the move keys ‘WASD’ to pick at angles or above small obstacles. I’m pretty sure they only move the camera and that’s all I need too.

In my first prototype I ve disabled the pawn control rotation to be able to rotate the camera roll but I needed to clamp Yaw to don’t let the player see himself,

What I’d like to know is how I can create the camera movement.

Thank you!