Java Game Development - Intersect two points

Hi

I've got two points p1 and p2.

p1 (Planet) rotates around origin (Sun) o at speed s1.

p2 (Ship) could be placed anywhere (meaning inside or outside the circle of the rotating p1), p2 has a speed s2.

How do I calculated at which point p3, p1 and p2 will intersect.

Thanks

[311 byte] By [CarelDuToita] at [2007-11-26 23:14:10]
# 1
You have 2 equations; one for p1 (circular) and one for p2 (line). When p1 and p2 are at same point these equations will equal eachother. As there's only one unknown variable (time), you can solve the equality to find the value.
Simon__1sta at 2007-7-10 14:12:47 > top of Java-index,Other Topics,Java Game Development...
# 2
points don't intersect, only lines do...
jwentinga at 2007-7-10 14:12:47 > top of Java-index,Other Topics,Java Game Development...