How to continiously move objects in a filled circle formations

Hey everyone,

private void ArrowPositionUpdater()
    {
        int arrowCount = transform.childCount;
        float angleSelection = Mathf.PI * 2f / arrowCount;
        for (int i = 0; i < arrowCount; i++)
        {
            Transform child = transform.GetChild(i);
            float angle = i * angleSelection;
            Vector3 arrowPosition = transform.position + new Vector3(rx * Mathf.Cos(angle),
                ry * Mathf.Sin(angle) * Mathf.Sqrt(i),
                0f);
            child.position = arrowPosition;
        }
    }

with the method above I am able to continuously move objects in a circle formation, however I would like to fill that circle. I want objects to move in a filled circle formation.

Can you please give me an idea on this ?

Thanks!

If I’m understanding this correctly, when you are calculating arrowPosition, you have the base position (transform.position), and then you are adding a Vector3 to that base position to move it away from the center. Multiply that Vector3 (not transform.position) by a float make it go further, or closer to the center. You can move each arrow closer to the center by using i, but then you will want to adjust the angle a tiny bit unless you have very many arrows.