I believe your collision system works based on distances, but since the length of my character's animations can vary, it's causing issues — the character always looks like they're falling and not making contact with the ground. How can we fix this?
I suggest using a rectangle as the collision box and drawing the character and its animations on top of them, instead of using the actual sprites as the collider.