Crouching displaces my character

so i got my character to crouch but the collision box stays the same and ends up displacing my character from the ground. any way i can fix this? pictures included.

Hi ImmortalxHerb,

You need to set “Crouch Maintains Base Location” to true. The reason this is occurring is that the character assumes, when crouching, that the capsule shrinks, which is designed to shrink to the center of the object, not vertically. By setting “Crouch Maintains Base Location” to true, it will keep the capsule at the base while shrinking downward to simulate crouching. For an example of this, go to the launcher learn tab and download the Unreal Stick Figure 2D project. The character blueprint contains the nodes I am referring to.

thank you. i ended up figuring it out.