Rejenorst
Mar 8 2010, 04:11
I know there's a few scripts out there and shortcuts but I have been playing around with my own script and am looking for a formulae to calculate the distance at which the plane is supposed to drop its bomb in relation to the distance of the target to the plane.
I've been playing around with height ASL, velocity/speed and distance but I am wondering if anyone knows how to calculate this?
The script doesn't need to be 100% accurate in terms of the projectile being dead on accurate, I just want to get it within apprx 25-50 meters.
I can get x,y,z velocity, speed, position, range to target, height etc, I am just wondering if anyone knows a formulae I can use with this info.
If you do please state the parameter definitions ie: vu = initial velocity etc.
CHeers.
EDIT:
Looks like I need to find time first, so I am guessing SQRT of (elevationx2 divided by gravity)
by elevation I mean height of the plane from the ground.
then velocity x time = distance.
I've been playing around with height ASL, velocity/speed and distance but I am wondering if anyone knows how to calculate this?
The script doesn't need to be 100% accurate in terms of the projectile being dead on accurate, I just want to get it within apprx 25-50 meters.
I can get x,y,z velocity, speed, position, range to target, height etc, I am just wondering if anyone knows a formulae I can use with this info.
If you do please state the parameter definitions ie: vu = initial velocity etc.
CHeers.
EDIT:
Looks like I need to find time first, so I am guessing SQRT of (elevationx2 divided by gravity)
by elevation I mean height of the plane from the ground.
then velocity x time = distance.