Camera shaking when uncrouch

Hi,

I’m having an issue where my camera shakes when I uncrouch. Does anyone have a solution for this?

I uploaded a video showing the problem and also a printscreen of my code.

Thank you for your time.


Uploading: Crouch.mp4…

Uploading: Crouching.mp4…

Nobody?

I solved it!

I just unchecked the “Can Crouch” on the CharacterMovementComponent.

I don’t know if I interpreted the problem right but in my view the thing was that I wasn’t using the “Crouch” function. So when I crouch and set my movement state to be “Crouching” there was a conflict between the half height I have set and the one that is set on the CharacterMovementComponent.