Thanks! I think I'll be able to implement that in code, the Wolfram Aplha solution for my before stated equation seemed horrible to compute. I'll keep you guys informed!
Yes, when I referred to a bullet was only to simplify the things as it would be easier to understand, but in reality it is the enemy itself who launches at you, and I want to find the perfect vector for it to launch so that it predicts perfectly your movement and collides with you. (I know the...
Hi, thank you for such a quick response, howver I may have not expressed with enough detail my problem.
All my movements occur in a surface plane, NO GRAVITY. Something like the xz plane.
All my movements have this ecuation for their position: dr = v · dt
However, time (t) is unknown for me as...
Hi, I am a game developer and recently found myself in a situation where I wanted to create an enemy that shoots at you given a set of variables. The game takes place in a top down view so there is no need for gravity acceleration, just 2d linear constant movement.
The question to answer is...