So currently, I am working on a tower defense game and tried out both techniques- HOming and missile/target intersection prediction p-- for firing missiles to hit the target.
Aesthetically, I like the latter method better because it seems seamless. The problem is that I basically just copied the math from the 2nd post of this thread 2d game : fire at a moving target by predicting intersection of projectile and unit, and I honestly haven't got a clue how the dude formulated this equation.
I have some background in math and understand what a quadratic formula is but what I don't understand is how he came up with it. I googled some sample quadratic formula problems but the problems seem either too simple or irrelevant.
Can anyone direct me to a book or site that will help me understand this math a bit better?
Thanks