Projectile Height

Status
Not open for further replies.
If you don’t care about it being parabolic:

Hdiff = tgtFlyHeight - srcFlyHeight
Ddiff = distance between tgt and src
Dremain = distance between tgt and missile

H = srcFlyHeight + Hdiff*Dremain/Ddiff

Instead of checking against current src location you can set the launch location once and re-use it. It’s still possible the missile appears to go down during this if the tgt moves very quickly away from the missile faster than the missile moves in the xy plane.
 
Status
Not open for further replies.
Back
Top