Animation struggle from 3ds max to unreal engine

You need fix Gimbal Lock in 3DS MAX.

Try this method: