Character capsule: reacting to crouch / swim states

Hi guys

I currently have the issue that the capsule of my char does not react to states in the movement component. For example, when I crouch, I would like to reduce the height of the capsule to correctly reflect collision behaviour. The same goes with swimming, where my animation rotates the skeleton 90 degrees and I would like the capsule / collision to reflect that.

What is the intended way to handle this?