Character goes underground when moving on crouching

The only thing I can think of is that you need to raise the crouching animation in your modeling software

Hi everyone. I’m created a character BP and character AnimBP. Into AnimBP I added animation: idle, walk, sprint, crouching. Everything works well, but function crouch fails. When Character crouching, he goes underground. This problem is not into my mesh (i’m used standart mesh from Epic tutorials. The problem persists). My observations have shown, it all depends capsule component. When it decreases the character goes underground.
Animation is also okay (I used to create a character Fuse).

If the capsule size is not changed, everything works fine.

I using function crouch from CharacterMovement.

When crouch, location root bone of my mesh change.

Pictures of my problem.
(My Character)



(Epic Character)

Character movement

Blueprints which the function is called

Are you using root motion animations by any chance? Can we see your blueprint’s component hierarchy please? Perhaps the character mesh is not attached to the capsule.

If I understand correctly, you want to see it.

Animation is correctly. If not reduce the capsule size, animation is played normally.

It looks like there are two meshes. Which one has your character? The mesh (inherited) should stay in place when you crouch but perhaps the second mesh is getting moved.

It looks like there are two meshes. Which one has your character? The mesh (inherited) should stay in place when you crouch but perhaps the second mesh is getting moved.

My character is “skeletal mesh” and this is what animates. Maybe there is somewhere in the animation checkbox in charge of the animation bone Root?

Try using Mesh (inherited) for your character. There is some c++ code in character that keeps this mesh in the capsule when crouch() happens, but not for your SkeletalMesh.

Did you manage to resolve this issue in the end?