Originally Posted by zackman94
What I would like to do is have a static image of the sun, and to the right the earth that rotates every 24 hours, and an image of the moon that rotates around the earth relative to it's current position.
Is this possible, and is it difficult to do?
To clarify, do you want the Earth to rotate around the Sun, with the moon rotating around the Earth? If so, I'm not sure this is possible. If it were possible, it would require you to use advanced parameters on the moon that determine not only its rotational location around the Earth, but also the X/Y location of the arc which must dynamically move along the same rotation as the Earth.
If you are want the Earth to have a fixed position with a moon that rotates around it, this is much more doable, but I would ask you why you want to create such an image?
Technically, the moon orbits the Earth every 27 days or so. It goes through all of its phases in roughly 29 days. It is visible in the sky for around 13-15 hours per day, depending on when you are looking.
Just trying to get an idea as to why you have settled on 24 hours as the rotation time, as it doesn't necessarily correspond to the moon's actual process.