Orbiting objects phisics

hi, i'm making this app where i want certain objects to be spawned orbiting. all around the same object. i already have the code to make them orbit, however you have to type in the distance between the two objects (the orbiting one from the static one). i want that distance to be random and different with every orbiting object spawned. i want each to orbit at a different orbiting distance and the distance to be random.

can anyone help please im looking forward to your response!
Sign In or Register to comment.