View Full Version : find center / noob question

04-13-2004, 04:23 PM
hi all,

noob here

lets say you have a planet in orbit

is there a way to get the coordinates of the center of the planet as its rotating?

thanks :)

04-13-2004, 05:02 PM
if it is rotating in a simple circle then
X = r * cos (theta)
Y= r*sin(theta)
if it is rotating in an arbitrarily located ellipse things get a bit trickier, but not much. In this case define vectors a and b to be the major and minor axis. Then p = a cos (theta) + b sin(theta)