I have got the physics part down to make a satellite use physics to orbit around a planet. I used a formula given by leparlon:
-Set the world gravity to 0
-Physics behaviour in all the objects in with the gravity force will act (in this case, the crates).
-Events:
Each 0.5 seconds (for better performance)
Apply Force On CRATE Toward position MOON.X, MOON.Y->GLOBAL_VARIABLE * (CRATE.mass + MOON.mass) / ((CRATE.X - MOON.X)*(CRATE.X - MOON.X) + (CRATE.Y - MOON.Y)*(CRATE.Y - MOON.Y))
My Question: Using a variable "mass" on the planet and object, and using the distance between the moon and object, how do I get Velocity?
V=SQRT((G{Gravity}*M{Mass of Moon})/R{Distance of center of moon to object})
Hint (WHAT IS Gravity in this case???????) You cant use 6.67*10^11...
Ultimately I want to have the object start out at a perfect speed to create a perfect orbit at start of layout. Distance will vary, as will mass of each moon and object.