April 25, 2019, 04:22:56 AM

Author Topic: Homing missile lead collision  (Read 256 times)

Offline Flanker

  • Jr. Member
  • **
  • Posts: 33
    • Youtube channel on Blitzmax programming prototypes
Homing missile lead collision
« on: March 18, 2019, 11:42:07 AM »
Hello, a few years ago I posted an explanation about lead collision on the BB forum : http://mojolabs.nz/posts.php?topic=105060

I revisited it with an even simpler solution and though I could share it here.

Lead collision allows to predict the path to follow in order to hit a moving target, and to calculate the impact point if needed. This can be useful for some video games, and can be used in both 2D and 3D. Only the target's position and speed vector, and the projectile's position and speed are needed.

Here is a video I made explaining the method using the intercept theorem (or Thales proportionality theorem) :
Everyone knew it was impossible, until someone who didn't know made it.

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 1733
Re: Homing missile lead collision
« Reply #1 on: March 19, 2019, 11:19:55 AM »
That’s some neat stuff :) perfect for a variety of homing missiles ;D
Until the next time...

Offline Derron

  • Hero Member
  • *****
  • Posts: 1953
Re: Homing missile lead collision
« Reply #2 on: March 19, 2019, 11:34:16 AM »
While there is so few in space you still sometimes need some "collision avoidance" (if there is an obstacle between "missile" and "target").

Have fun adding that in - and bringing up a new video.


Aside of that I of course watched the full video and want to say "thanks".


bye
Ron