tank animating trouble

So i am having trouble animating my tank treads. I am going to use them in Unreal Engine 4 but the thing is they don’t work. I know why they don’t work but i can’t find a better way to make them. The current way i am making them is by using a curve modifier for all the track links. The problem is the track’s origins are at the center of the curve so when i import it UE4 all the tracks are laid out in a line. Again i know this method probably won’t work but if you know a better way please help me.