Hello, for my game I would like 3 circles to orbit around a button or another object. I want the button to make the 3 circles orbit further out and closer at a speed. If that is asking to much, the 3 circles orbiting the object would be fine. The whole point is to make the circles have 2 orbits with a button controlling what orbit it will be moving to. I plan on making the circles characters.
I attached an image that shows an example or click this screenshot link.
https://gyazo.com/8aabf4af7eeda29d2f5deebf9182030b
Key -
The black circles are the first orbiting circles.
The grey circles are orbiting the 2nd orbit.
The red lines are the lines of trajectory just to show what i mean.
Middle circle is the button that controls the circles and is the object being orbited.
I have been searching around for a long time on orbiting mechanics etc. All them seem to be outdated and I can’t seem to get any coding to work for it. Much love to whoever can help me with this. I have been trying for months and this has stopped me from moving on any further in my projects.