I have multiple objects (circles) and I want to place them in a circle, with even distance between each one, and have them orbit the center of the screen.
If I remove one object, I want the orbit radius to reduce and the other circles, as a result, end up getting closer and closing the circle again.
Below are some images to help explain what I'm trying to achieve.
A. is the objects evenly distributed around the center.
B. is after destroying one of the objects, the "circle of objects" need to close in and evenly distribute the objects once again.
C. is just after another object has been destroyed.
I know that the solution is some "basic" math, but it's been a while, and I'm super rusty.
Thanks for the help, if anything further is needed please let me know!!
Cheers!
o7