Register to reply

Projectile Predictability

by MrDoomMaster
Tags: predictability, projectile
Share this thread:
Mar24-06, 08:59 PM
P: 2
Here is the scenario I am faced with:

I am developing a game that involves a main ship (the player) scrolling forward through a level firing at other ships that fly by.

There is a particular weapon the player has that will shoot a specific straight-moving projectile at a moving target. Since this moving projectile is slower than the ships move, the projectile needs to be fired in a way that it will "intersect" with the target at some point, thus hitting it no matter how fast it's going.

Instead of firing my projectile at the target's current location (which provides the target a way to easily dodge the projectile), the projectile needs to account the velocity of its target and fire at an angle that would cause it to "meet" the ship at a specific location in space.

I hope I've been detailed enough. I've been losing hair trying to visualize a formula for this. Thanks!
Phys.Org News Partner Physics news on
Physical constant is constant even in strong gravitational fields
Physicists provide new insights into the world of quantum materials
Nuclear spins control current in plastic LED: Step toward quantum computing, spintronic memory, better displays
Mar25-06, 12:34 AM
P: 22,315
In navigation, it is called a "maneuvering board" (you can google that). Draw a picture and use vectors.

First, draw a heads-up view from the projectile, with one vector directly forward, indicating its speed. Draw a second vector from the same origin indicating the true speed and direction of the target ship. Compute the 3rd leg of the triangle for the relative course and speed of the ship.

Then draw a heads-up view of the location of the projectile and target. The projectile goes in the middle and the target is whatever distance and direction you see it in. Use the speed and direction you calculated in the first part and find where that intersects with the speed vector for the projectile, which will then give you the direction the projectile needs to go.

It isn't an easy problem the first time you see it, so you may need to find yourself a good tutorial on maneuvering boards and learn it.
Mar25-06, 05:35 PM
P: 2
I was not able to find anything on this via google...

Mar25-06, 05:46 PM
P: 22,315
Projectile Predictability

Here is a Navy pub on how to do maneuvering board problems:

Once you get familiar with how they work, you can make some simple equations for the specifics of the type of problem you need. It's just trig.

Register to reply

Related Discussions
Projectile Motion assignment - Building a projectile launcher Introductory Physics Homework 3
Predictability versus controllability in life experience General Discussion 4
Predictability in Number Systems-^V? General Physics 0
100% predictability General Physics 2
Complete predictability contradicts relativity...I think... General Physics 18