How to lock character rotation when it take cover?

When i take cover, and move the camera, my character moving with the camera

How can i fix it?
I want to rotate with the camera, but not in the cover.
In the cover just look around, don’t rotate.
Thanks :smiley:

Solved :smiley:

When you enter the cover I’d set the “Use Controller Rotation Yaw” to 0.