Recent content by RuneStrife

  1. R

    Fire projectile to hit a moving object

    Actually i was able to solve the problem using the equation: |T-G-t*(VT-VG)|=D*t where T and G are target and gun position vectors, VT and VG are velocity vectors for target and gun, D is the projectile default velocity, and || is the magnitude of the sum of those vectors (add the x and y...
  2. R

    Fire projectile to hit a moving object

    Thanks for the reply. In fact this has been exactly my approach so far. Before posting this message, I've been able to figure out how to hit a moving target while gun is stationary by doing the following: 1. Figure out the length of the radius between target and gun as a function of time...
  3. R

    Fire projectile to hit a moving object

    This is not a homework problem so i didn't post it in that section, however, it is homework-problem-ish in that it's a problem for a non-school-related programming simluation project I'm working on that I can't solve. If appropriate, please move to that section. Overview: I'm working on...
Back
Top