Can someone help me with some instructions/formulas or better a sample code on how to make an object circle around another (in a circular orbit).
Ex. think of the moon around the earth. How do I make the moon to move/orbit around the earth?
I already designed a primitive sample but what I get is a diamond-type orbit not a arounded or elliptical orbit.
I'm using Delphi 4.0/5.0 but I also know Visual basic
Please Help me.