Projectile Leading Question

Started by
1 comment, last by ph33r 17 years, 9 months ago
I'm having a hard time figuring out the best way to do this. Any insight would be appreciated since I'm not the greatest at math/physics. I have an initial shot position, a constant shot speed, an initial target position, and a constant target velocity. I am trying to figure out the shot direction and at what time it would hit the target. Fear not, this isn't homework, I've been out of school for quite some time now...I just want to figure this out. Thanks in advance!!
Advertisement
alright, so I'm pretty sure I've figured out how to solve for time. which gives me the ability to find the point at which the two collide. with that, how can I find the direction vector between 2 points. would that be as simple as targetPos - initialShotPos?
yup

This topic is closed to new replies.

Advertisement