So After a long hiatus I'm back and I'm messing around in orbiter. I know this question has been asked before but lord help me if I can find it.
Basically I'm trying to figure out if my orbital track will take me over a specific point on the surface (such as a base or specified Lat/Lng), or rather what my closest point of approach will be, and at what point in my orbit it will occur.
I've got a rough estimation in place that works by projecting the target's position in global coordinates onto my orbit's normal vector, but I'm not sure how well that works as a "general solution" and I'm hoping that someone can point me towards something a bit more refined.
Basically I'm trying to figure out if my orbital track will take me over a specific point on the surface (such as a base or specified Lat/Lng), or rather what my closest point of approach will be, and at what point in my orbit it will occur.
I've got a rough estimation in place that works by projecting the target's position in global coordinates onto my orbit's normal vector, but I'm not sure how well that works as a "general solution" and I'm hoping that someone can point me towards something a bit more refined.