-
Connect two Objects with dotted line
Hi,
I know this topic has been discussed a few times before, but I couldn’t find the right solution for my project. So maybe someone can help me with new ideas.
I have two objects and I want them to be connected by a line of dots. And here’s what makes it difficult for me. The line should consist of a specific number of dots. And when the objects move, the spacing between the dots should automatically adjust. Like they are fixed to an invisible rubber band. I’ve seen something like that on the intro of “Lie to me”.
I’ve tried to use the beam effect but it didn’t work out. I wonder if I could use shape layers for the dots. Then use some expression to connect the first dot with object A and the last dot with object B. And then I would need another expression to tell the rest of the dots what to do. The problem is I’m not really good at writing expressions. Mostly I look for them on the internet and adjust them for my purposes.
So if anyone has an idea how this could work I would be really thankful. I tried to make it work for days and now I don’t know what to do anymore.