image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Physics > General Physics


Notices

Reply

image Interception angle Share It Thread Tools Search this Thread image
Old Feb10-10, 05:49 AM       Last edited by thomasvt; Feb10-10 at 09:01 AM.. Reason: the html screwed up the drawing, trying to fix            #1
thomasvt

thomasvt is Offline:
Posts: 3
Interception angle

Hey,

I like writing puzzle games, and normally i solve my physics programming challenges on my own, but this problem i have now reveiled itself to be quite a tough one. Even after involving my smarter friends :) Probably plain easy for motion physics adepts, but i forgot most of my fysics and goniometrics i learned in school, except for the things i use in physics programming all the time.. so i need a bit of help :)

view:
from above, like looking at a road-map

objects:
A = static canontower
- shoots bullets (no friction, gravity) at v = constant (eg 600m/s)
- can turn around its pivot so can shoot the bullet in any desired direction
B = an enemy
- moves at v = constant (eg 200m/s) at some direction (so it has a 2D velocity vector)

question (if you didn't guess it by now)
* what angle should BÂC be so that the bullet intercepts enemy B at unknown point C


******(enemy)*******
**********B-->*-*-*-*-*C*(interception*point)
***********\**************/
************\************/
*************\**********/
*************\*********/
**************\*******/
***************\*****/
***************\****/
****************\**/
******************A*(tower*-*startposition*of*bullet)





I already fixed this problem, but i doubt my solution to be correct:
s = vt ==> s/v = t
==>
|BC| / vb = t = |AC| / va (vb = enemy speed, va = bulletspeed)
hence: |BC| = |AC| * vb / va (for instance)

And also that the "sinus rule" (literaly translated from Dutch) will probably lead me to calculating the BÂC angle. With sinus rule i mean: sin A / |BC| = sin B / |AC| = sin C / |AB| (or something like that)

Using this "sinus rule" i come to:
sin A = sin B / |AC| * |BC|
and using my former |BC| formula, i get:
sin A = sin B / |AC| * (|AC| * vb / va)
=>
sin A = sin B * vb * va
and since vb and va are known, and sin B easily calculated, i should have a solution..

but my guts tell me it can't be this easy (i expect a quadratic function because it involves intersection of 2 circles, i believe) and besides, my result doesn't need input from the distance between tower and enemy, which is obviously influencing the whole thing...

so, any solutions from you, please?

thank you very much
  Reply With Quote
Old Feb10-10, 05:54 AM                  #2
thomasvt

thomasvt is Offline:
Posts: 3
Re: Interception angle

the drawing is a bit messed up, but i think the triangle i meant to show is clear enough
  Reply With Quote
Old Feb18-10, 01:56 PM                  #3
Jonny6001

Jonny6001 is Offline:
Posts: 14
Re: Interception angle

How about using parametric equations to work out the position of a point along a line at time 't', do this for both the bullet and enemy, then make the 'x' or 'y' components of each vector equal then solve for 't'.

You can then work out the angle from the length AC.
  Reply With Quote
Old Feb19-10, 06:31 AM                  #4
thomasvt

thomasvt is Offline:
Posts: 3
Re: Interception angle

Hi Johnny,

because my question remained unanswered for quite a while, I already found a method for solving this problem. And it is exactly as you summarize.

In the meantime though, I found out that my problem is a bit more complex, you still need to rotate the cannon to that angle, which takes time too. So by the time you get there, the situation has changed again.

But, by now I already have resolved my entire problem, so no more question marks left :)

thanks for the answer !
  Reply With Quote
image image
Reply

Tags
angle, bullet, enemy, intercept
Thread Tools


Similar Threads for: Interception angle
Thread Thread Starter Forum Replies Last Post
javelin throw, find time it takes for angle one to change to angle two pinoypride333 Introductory Physics 1 Oct5-09 08:57 PM
Zero angle launch problem: Find height given inital speed and angle egadda2 Introductory Physics 1 Sep13-09 02:48 PM
Best Heading/Orientation for Fastest Interception of a Moving Target nilum General Physics 8 Jun8-09 03:15 PM
Finding an interception point? The Guardian General Math 7 Jul8-08 12:52 PM
Maths or physics Interception question High_flier Introductory Physics 1 Aug24-04 07:58 AM

Powered by vBulletin Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. © 2010 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image