blender tank treads

I am a bit confused about this
I made a tank in blender and animated
the tracks. Now can someone explain to me the correct procedure
for making this work. I can load the files into unity
but is there a script that i need besides the movement script of the tank to make the treads turn on movement?

thanks

wayne

If you want a good-looking tank-tread movement script, I would recommend making 2 seperate animations- one for each tread. Then, attach a script to each one that checks the position of the bottom of the tread each frame, calculates its velocity (by saving the previous frame’s position, and comparing the two) and makes the tread animation play faster or slower accordingly.