For my game, I have a projectile moving around the surface of a sphere, along a great circle of the sphere. I want to be able to launch an other projectile from a different object such that the two projectiles will intersect. Both the instantaneous positions of the projectile and the object launching the intercepting projectile are known, as well as the velocities of the projectiles (which may be different). Nothing may deviate from the surface of the sphere. The radius of the sphere is known.
My attempt to solve this involved using spherical trig on a triangle defined by points (launch position, projectile position at t=0, intersection point of projectiles), but I was running into trouble figuring out how to construct that triangle given one known side, one known angle, and a relationship between the two remaining sides. Can anyone help me out on this problem?


Suppose you are in control of launching the missile that will collide with the object on the sphere.
Let $t=0$ to be the time when you launch the missile.
Denote your position at time $t$ to be $r(t)=(x(t),y(t),z(t))$, the object's position on the sphere as $r_O(t)=(x_O(t),y_O(t),z_O(t))$, and the missile's position to be $r_m(t)=(x_m(t),y_m(t),z_m(t))$.
If we neglect air resistance, we know that $r_m(t)$ solves the DE $r_m''(t)=-g \hat{k}$. This means $$r_m(t)=\Big(at+x(0),bt+y(0),-\frac{1}{2}gt^2+ct+z(0)\Big)$$
Here, $r_m'(0)=(a,b,c)$ is your unknown initial velocity that we need to find.
If we want the missile to intercept the object $T$ units of time after being launched, then we must have $r_m(T)=r_O(T)$. This means $$r_m'(0)=(a,b,c)=\Big(\frac{x_O(T)-x(0)}{T},\frac{y_O(T)-y(0)}{T},\frac{z_O(T)-z(0)+gT^2/2}{T}\Big)$$
But $(a,b,c)$ is the resultant vector of $r'(0)$ and the velocity at which the missile is fired. So you must fire the missile at an initial velocity of $(a,b,c)-r'(0)$ to intercept the object after $T$ units of time.