Ok, I have a star and a planet orbiting around it using :
// posX - distance between star and planet
theta=Math.PI;
theta -= (speed * 0.1) / 180 * Math.PI;
body.x = Math.cos(theta) * posX;
body.z = Math.sin(theta) * posX;
The problem is I don't know how to put a satellite orbiting that
planet ( which orbits the star ). Can anyone help me ?
Thanks.
