Hello everyone. I don’t know if this is the right place to post this but this is something that helped me.
I was running some tests trying to implement some gameplay functions based on modifying the capsule component’s height.
This usually ended in my character getting stuck in the ground.
During play in editor I unpossessed my pawn in order to check positions and check what was going on.
Turns out there is a tiny offset between the capsule component and the ground of about 0.15 units when standing idle and this number is constant in both examples I tried on (Shooter Game and First Person Template). I then simply added or subtracted this amount and everything worked correctly now. No jitter, no unsmooth transitions, no getting stuck in the ground. Anything more than 0.15 results in a tiny fall between states and anything less results in getting stuck. Weird.
Now, this is something I intend to not use in my code and find another way to fix my issues but maybe knowing that there is this distance will help you somehow.