Problem with distance or size animation

hello. I have a problem with exporting the model with the blender animation. Mesh is ok. The animation gets very far away or small and you can not see it in the game. does anyone know how to fix it?