How to make the capsule follow the character in air?

Hey everyone,
I made a combo in maya, the combo is like 5 attacks, and the last attack the character is jumping and doing the attack in the air and landing.
So I made the root bone follow the character only and the horizontal axis, X and Z.
and I implemented it in unreal, and it works fine, the capsule is following the character, but when she jumps the camera/capsule is staying on the ground.
and If I make the root follow the Y axis too, its doing some weird stuff in unreal.
So I wonder how should I approach this? how can I make the camera follow the air attack too?
My goal at the end is to make a combo, like when you press the left mouse button one time its doing the first attack, if you press twice it does the first attack and second attack, etc…