Skip to main content
May 29, 2011
Question

how to spread items in a circulair path with a right rotation angle facing the center?

  • May 29, 2011
  • 1 reply
  • 562 views

Hello,


I am trying to place leaves in a circle to create a flower with code. I run into some problems.
Is it possible to rotate the leaves so they all rotate in the direction of the center of the flower? 
And is it possible to calculate how many leaves can fit around a certain circle radius without to much overlapping?


Thanks in advance!

Regards, Chris.

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
May 29, 2011

If you place the registration point of the petals at the center end you only need to change the rotation value of them to have them form a circle.

As far as spacing them apart goes, that will depend on the shape of the petals, and is probably something easier done manually with two petals to determine how many degrees to rotate each one.  Then take the rounded result of 360 divided by that degrees value to see approximately how many petals you'll need.