I would like to take this earlier question a step further by animating the traffic line.

I've added nodes to the NodeTree to achieve this animation, as shown in the attached image.

nodetree animated traffic what the animation looks like

While the traffic line moves, I've encountered two challenges:

  • When I use a collection of cars, the instances (cars) constantly change on the spot
  • The animation sequence occasionally exhibits a slight 'jump'. It's not a smooth, seamless loop.

To illustrate the issue, I've created a video on YouTube The Blender file is in attachment.


1 Answer 1


The problem arises in this case because after moving the points you merge them again with Merge by Distance. This also changes the indices, which leads to this erratic behavior during instantiation.

However, by capturing the index with Capture Attribute before merging the points and using this as Instance Index, you stabilize the indices and the erratic behaviour disappears:

  • 1
    $\begingroup$ That works! Thanks! :-) I timed that about every 10 seconds the points on the curve seem to be redistributed/ a jump of some sort occurs. Do you know where this comes from? $\endgroup$ Jan 4 at 17:12
  • 1
    $\begingroup$ @PieterLéon The jump that occurs every ~10 seconds is due to the fact that this setup is time-based and is controlled by the Scene Time node. Since the number of defined frames of your timeline is limited to 250 frames, your counter starts again at 0 after 10.416 seconds (250 Frames/24fps), which causes the jump. In this case, you would therefore have to increase the end frames (frame range) accordingly. $\endgroup$
    – quellenform
    Jan 4 at 20:09
  • $\begingroup$ Ah, it's that simple. I clearly don't know much about animation. Thanks again Stephan! :-) A coffee is coming your way. And best wishes for the new year! $\endgroup$ Jan 5 at 17:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .