(I do not know how to publish graphics, carry me.)
Well, we have two spheres with radii r1 and r2, starting at locations X1 and X2, moving at speeds V1 and V2 (X and V are vectors).
The speed of sphere 1, as can be seen from sphere 2, is
V = V1-V2
and his direction
v = V/|V|
The distance of ball 1 should move (within sphere 2) to the nearest approach
s = Xv
And if X is the initial separation, then the distance of the closest approach
h = |X - Xv|
This will help the graphics. If h> r1 + r2, there will be no collision. Let h <r1 + r2. During a collision, two spherical centers and a point of the closest approach form a regular triangle. The distance from the center of Sphere 1 to the point of closest approach is
u = sqrt((r1 + r2)^2 - h^2)
So, the traveled distance 1
s - u
Now just see if sphere 1 moves far beyond a given interval. If so, then you know exactly when and where the spheres were (you should go back from sphere 2 frames, but this is pretty easy). If not, then there is no collision.
Beta
source share