-
Cascading traffic jam animation
Hello!
I’m working on an animation of an overhead shot of a road with a traffic jam on it. I want the cars to move in a cascading “stop-and-go” traffic method along the road’s path. So far I’ve gotten the cars spacing and path right by using expressions to link a slider to a null’s path, and linking the car’s position to the slider with an offset to each one.
slider = thisComp.layer("POS CONTROL").effect("Slider Control")("Slider")
t = slider * thisComp.frameDuration
Nullpos = thisComp.layer("Null 4").transform.position
Nullpos.valueAtTime(t-insert delay here)I need to add something to this expression that will also delay each car in time, perhaps by the same that their position is delayed so that they start and stop in a sequenced manner. Or maybe there’s a more elegant solution that could address all these issues. Any ideas?
Thanks in advance!