I have a vector consisting of a point, speed and direction. We will call this vector R. And another vector that only consists of a point and a speed. No direction. We will call this one T. Now, what I am trying to do is to find the shortest intersection point of these two vectors. Since T has no direction, this is proving to be difficult. I was able to create a formula that works in CaRMetal but I can not get it working in python. Can someone suggest a more efficient way to solve this problem? Or solve my existing formula for X?
Formula:
Key:
Where o or k is the speed difference between vectors. R.speed / T.speed