Capsule falls trough floor

Hi, I think you don’t need a secondary capsule for crouching. There is a parameter called “Crouched half height”. When crouching, the capsule changes size for this value. On a default character, the capsule height is 88, and crouched is 40.
Set the capsule to not hidden in game and you will be able to better see what happens

(Sorry for my english) Im new to ue4 so im not so experienced. Im programming a 2d game for a school project and i have a problem with my character. When i am crouching i want that the character changes the collision box because i cant move the CapsuleComponent Box, so i need to deactivate the collision of the CapsuleComponent and activate the collision of my crouch capsule. But somehow it only deactivates the collision of the CapsuleComponent and it doesnt activate the capsule collision. Now when i crouch i only fall trough the floor.

thanks, worked for me