Hi everyone thanks for taking your time to help!
I am developing a game where planets are orbiting (always a perfect circle) and ships move between the planets. I need to be able to find what angle to launch a ship at so that it meets up with the moving planet? There is no gravity or anything of that sort. I am simply trying to determine what angle to launch a linearly moving object at with a constant speed in order to meet a circular moving object with a constant speed?
So in summary I have the following pieces of information:
-Planet A (origin) x,y coordinates at time of launch
-Planet B (destination) x,y coordinates at time of launch
-Planet B (destination) orbit / movement speed (constant)
-Spaceships's movement speed (constant)
I need to know:
-What angle to launch the ship at in order to meet Planet B while moving the ship in a straight line.
Thanks so much again!!