Proplem when importing fbx Model with animation into unreal

I’ve finished animation in maya and exported my model with animation with Z as up axis as in image

The Problem is, when i import the fbx file into unreal, the Animation Sequence is flipped.

I’ve tried Y as up axis, moreover rotating my model in maya and export it with the same result.

What is the problem??

With Root Lock Checked Direction is now good. But

Hip controller animation is not working.
it should go up and down while walking

Maybe your model root is your hip.
it shouldn’t be. The hip should be patented to a root bone which is i. The same position as the mesh pivot point.

Thanks very much, This solved the problem.