2 Attachment(s)
Array in a circle - Math Question
I am trying to array copies of a mesh in a circle. I can do that fine by finding the COS and SIN but I am running into an issue.
Now I am pretty terrible at math and it's been years since I touched trig... so it may be a problem with my math. I need someone smarter than me too look at this. As I increase the number of copies the size of the circle increases. I want the size of the circle to stay the same.
What I am doing is dividing the rotation (360) by the copies (12) to get the interior angle (30). Then I am finding the cos/sin and then multiplying by the radius (distance slider - 100). Then I move the mesh X then Y to that point. This is looped by the number of copies and to find the next point I am multiplying the interior angle by how many times it loops .
I attached the script if anyone wants to look at it.
Attachment 311438