Hey all
I'm currently working on a project where I want to create a scale like effect with boxes overlapping. Currently I'm able to calculate the required angle for each box so the end of one box rest on the start of the next when there all in a straight line. But when placing the boxes on a curve they start to intersectin with each other.
The goal is to get them nicely laying on top of each other as in this image but i don't know how.
So i was hoping someone could help me, I'm guessing in need to calculate the angle but I tried several different methods with no success.
The expression I'm using now to get the angle needed for the boxes to overlap is.
atan(ch("../box/thicknes") / ch("../box/overlapPoint"))
The placing of boxes is done using a curve and a copy node, each box is rotated using a stamp value.