Z axis movement of a root motion not applied to character

I set the root motion mode in my Animation Blueprint to “Root Motion from Montages Only”, as I played the Animation Montage, the movement of X,Y axis is normally applied to my character but the movement in Z axis was not applied.
I want to apply the Z axis movement, but don’t know how to make it.