Issues with skeletal meshes and collision

After spending all weekend on this problem with no help in sight, I think I figured it out finally. It probably won’t hold up as more mechanics are added but it’s a starting place for now.

When the player jumps, I shrink the capsule collider by half. On tick, I check if the player is falling and if so, shoot a line trace exactly 25 units below the character (I did some trial and error to see how far down the players feet are when ‘standing’ to get the number). If it hits anything, it resizes the capsule collider to the normal height. So far it’s working a lot better, but we will see when more mechanics get put into place. I am also not sure how performant calling a line trace every tick is.