I need help it's about Capsule Components

When i jumped a character it will be have a distanced between box and character as you can see at the pictures.
My question is how could i change capsule half height,Radius to be fitted with Boxes after jump ?

You can use these nodes with your capsule, you can either set the values or drive them with a timeline with a float track
Hopefully it helps.

][1]