Where do people find the attention-span to remember all of these functions?
It's not like we sit down with a Torque manual and study. There's only so many times that you can look up
vectorScale when you need to multiply a vector before you just remember it. As far as the actual algorithm for doing things, it's a mix of logic and math. forget if I have how to calculate required velocity to traverse a given distance memorized, but if I think for a second I'll realize that V=D/T, so we have to divide the distance by the time. You can get distance with
vectorSub(%B, %A), and there's no vectorDivide function in Torque so we'll have to multiply by 1 / time to do the same thing. So
vectorScale(vectorSub(%B, %A), 1 / %T).